All of lore.kernel.org
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: Shaokun Zhang <zhangshaokun@hisilicon.com>
Cc: linux-pm@vger.kernel.org, "Rafael J. Wysocki" <rjw@rjwysocki.net>
Subject: Re: [PATCH v2] cpufreq: stats: Clean up local variable of cpufreq_stats_create_table
Date: Mon, 31 May 2021 12:49:24 +0530	[thread overview]
Message-ID: <20210531071924.bfomsgnukytf7yru@vireshk-i7> (raw)
In-Reply-To: <1622445367-37754-1-git-send-email-zhangshaokun@hisilicon.com>

On 31-05-21, 15:16, Shaokun Zhang wrote:
> Local variable 'count' will be initialized and 'ret' also is not required,
> so remove the redundant initialization and get rid of 'ret'.
> 
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
> ---
> ChangeLog:
> v1-->v2:
>     1. Address Viresh's comment, get rid of 'ret'
> 
>  drivers/cpufreq/cpufreq_stats.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

  reply	other threads:[~2021-05-31  7:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31  7:16 [PATCH v2] cpufreq: stats: Clean up local variable of cpufreq_stats_create_table Shaokun Zhang
2021-05-31  7:19 ` Viresh Kumar [this message]
2021-05-31 12:11   ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210531071924.bfomsgnukytf7yru@vireshk-i7 \
    --to=viresh.kumar@linaro.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=zhangshaokun@hisilicon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.