Linux RTC
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Fabio Estevam <fabio.estevam@freescale.com>
Cc: festevam@gmail.com, rtc-linux@googlegroups.com
Subject: [rtc-linux] Re: [PATCH 1/2] rtc: rtc-cmos: Remove unused variable
Date: Mon, 10 Aug 2015 16:01:26 +0200	[thread overview]
Message-ID: <20150810140126.GG3411@piout.net> (raw)
In-Reply-To: <1439210865-8611-1-git-send-email-fabio.estevam@freescale.com>

Hi Fabio,

Thanks for that patch but I fixed it in tree just a bit before you ;)

On 10/08/2015 at 09:47:44 -0300, Fabio Estevam wrote :
> Remove unused variable 'err' and fix the following build warning:
> 
>  drivers/rtc/rtc-cmos.c:851:7: warning: unused variable 'err' [-Wunused-variable]
> 
> Reported-by: Olof's autobuilder <build@lixom.net>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  drivers/rtc/rtc-cmos.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
> index 916bd1f..c2e90c6 100644
> --- a/drivers/rtc/rtc-cmos.c
> +++ b/drivers/rtc/rtc-cmos.c
> @@ -848,7 +848,6 @@ static int cmos_aie_poweroff(struct device *dev)
>  	 */
>  	if (cmos->alarm_expires == t_now + 1) {
>  		struct rtc_wkalrm alarm;
> -		int err;
>  
>  		/* Cancel the AIE timer by configuring the past time. */
>  		rtc_time64_to_tm(t_now - 1, &alarm.time);
> -- 
> 1.9.1
> 

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-- 
-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

      parent reply	other threads:[~2015-08-10 14:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-10 12:47 [rtc-linux] [PATCH 1/2] rtc: rtc-cmos: Remove unused variable Fabio Estevam
2015-08-10 12:47 ` [rtc-linux] [PATCH 2/2] rtc: rtc-ds1374: " Fabio Estevam
2015-08-10 14:00   ` [rtc-linux] " Alexandre Belloni
2015-09-05 11:24   ` Alexandre Belloni
2015-08-10 14:01 ` 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=20150810140126.GG3411@piout.net \
    --to=alexandre.belloni@free-electrons.com \
    --cc=fabio.estevam@freescale.com \
    --cc=festevam@gmail.com \
    --cc=rtc-linux@googlegroups.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox