From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Anders Roxell <anders.roxell@linaro.org>
Cc: a.zummo@towertech.it, shawnguo@kernel.org,
s.hauer@pengutronix.de, linux-rtc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rtc: imxdi: remove unused variable
Date: Fri, 3 May 2019 17:53:02 +0200 [thread overview]
Message-ID: <20190503155302.GF22550@piout.net> (raw)
In-Reply-To: <20190503154217.13205-1-anders.roxell@linaro.org>
On 03/05/2019 17:42:17+0200, Anders Roxell wrote:
> This variable is no longer used and the compiler rightly complains that
> it should be removed.
>
> ../drivers/rtc/rtc-imxdi.c: In function ‘dryice_rtc_set_alarm’:
> ../drivers/rtc/rtc-imxdi.c:633:16: warning: unused variable ‘now’ [-Wunused-variable]
> unsigned long now;
> ^~~
>
> Rework to remove the unused variable.
>
> Fixes: 629d488a3eb6 ("rtc: imxdi: remove unnecessary check")
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
> drivers/rtc/rtc-imxdi.c | 1 -
> 1 file changed, 1 deletion(-)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
WARNING: multiple messages have this Message-ID (diff)
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Anders Roxell <anders.roxell@linaro.org>
Cc: linux-rtc@vger.kernel.org, a.zummo@towertech.it,
s.hauer@pengutronix.de, linux-kernel@vger.kernel.org,
shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] rtc: imxdi: remove unused variable
Date: Fri, 3 May 2019 17:53:02 +0200 [thread overview]
Message-ID: <20190503155302.GF22550@piout.net> (raw)
In-Reply-To: <20190503154217.13205-1-anders.roxell@linaro.org>
On 03/05/2019 17:42:17+0200, Anders Roxell wrote:
> This variable is no longer used and the compiler rightly complains that
> it should be removed.
>
> ../drivers/rtc/rtc-imxdi.c: In function ‘dryice_rtc_set_alarm’:
> ../drivers/rtc/rtc-imxdi.c:633:16: warning: unused variable ‘now’ [-Wunused-variable]
> unsigned long now;
> ^~~
>
> Rework to remove the unused variable.
>
> Fixes: 629d488a3eb6 ("rtc: imxdi: remove unnecessary check")
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
> drivers/rtc/rtc-imxdi.c | 1 -
> 1 file changed, 1 deletion(-)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-05-03 15:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-03 15:42 [PATCH] rtc: imxdi: remove unused variable Anders Roxell
2019-05-03 15:42 ` Anders Roxell
2019-05-03 15:53 ` Alexandre Belloni [this message]
2019-05-03 15:53 ` Alexandre Belloni
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=20190503155302.GF22550@piout.net \
--to=alexandre.belloni@bootlin.com \
--cc=a.zummo@towertech.it \
--cc=anders.roxell@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@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 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.