From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Anders Roxell <anders.roxell@linaro.org>
Cc: a.zummo@towertech.it, linux-rtc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rtc: sh: fix unused variable warning
Date: Mon, 25 Mar 2019 11:47:54 +0100 [thread overview]
Message-ID: <20190325104754.GJ30105@piout.net> (raw)
In-Reply-To: <20190325102453.8349-1-anders.roxell@linaro.org>
On 25/03/2019 11:24:53+0100, Anders Roxell wrote:
> When building the driver rtc/rtc-sh a warning about unused variable
> shows up:
>
> ../drivers/rtc/rtc-sh.c: In function ‘sh_rtc_probe’:
> ../drivers/rtc/rtc-sh.c:472:18: warning: unused variable ‘r’ [-Wunused-variable]
> struct rtc_time r;
> ^
>
> Remove the declaration of the unused varable 'r'.
>
> Fixes: 373f7f4bf4a5 ("rtc: sh: stop resetting time to epoch")
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
> drivers/rtc/rtc-sh.c | 1 -
> 1 file changed, 1 deletion(-)
>
Thanks, I've squashed it in the original commit as it is not yet in any
release and its hash may still change.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2019-03-25 10:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-25 10:24 [PATCH] rtc: sh: fix unused variable warning Anders Roxell
2019-03-25 10:47 ` Alexandre Belloni [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=20190325104754.GJ30105@piout.net \
--to=alexandre.belloni@bootlin.com \
--cc=a.zummo@towertech.it \
--cc=anders.roxell@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
/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).