patches.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	patches@lists.linux.dev,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	kernel test robot <lkp@intel.com>
Subject: Re: [PATCH] clk: asm9620: Remove 'hw' local variable that isn't checked
Date: Mon, 11 Sep 2023 13:20:26 -0700	[thread overview]
Message-ID: <a1b8a5bcbddc57cb3c62d3d81fdc4c4a.sboyd@kernel.org> (raw)
In-Reply-To: <20230909000703.3478902-1-sboyd@kernel.org>

Quoting Stephen Boyd (2023-09-08 17:07:02)
> The 'hw' pointer local variable in this function became unused after
> commit f5290d8e4f0c ("clk: asm9260: use parent index to link the
> reference clock"). Remove it to silence an unused but set variable
> warning.
> 
>  drivers/clk/clk-asm9260.c:258:17: warning: variable 'hw' set but not used [-Wunused-but-set-variable]
>            struct clk_hw *hw, *pll_hw;
>                           ^
>    1 warning generated.
> 
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Fixes: f5290d8e4f0c ("clk: asm9260: use parent index to link the reference clock")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202309042014.IWERPl09-lkp@intel.com/
> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
> ---

Applied to clk-next

      reply	other threads:[~2023-09-11 20:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-09  0:07 [PATCH] clk: asm9620: Remove 'hw' local variable that isn't checked Stephen Boyd
2023-09-11 20:20 ` Stephen Boyd [this message]

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=a1b8a5bcbddc57cb3c62d3d81fdc4c4a.sboyd@kernel.org \
    --to=sboyd@kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mturquette@baylibre.com \
    --cc=patches@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).