All of lore.kernel.org
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH 1/2] rtc: rtc-cmos: Remove unused variable
@ 2015-08-10 12:47 Fabio Estevam
  2015-08-10 12:47 ` [rtc-linux] [PATCH 2/2] rtc: rtc-ds1374: " Fabio Estevam
  2015-08-10 14:01 ` [rtc-linux] Re: [PATCH 1/2] rtc: rtc-cmos: " Alexandre Belloni
  0 siblings, 2 replies; 5+ messages in thread
From: Fabio Estevam @ 2015-08-10 12:47 UTC (permalink / raw)
  To: alexandre.belloni; +Cc: festevam, rtc-linux, Fabio Estevam

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

-- 
-- 
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.

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-05 11:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [rtc-linux] Re: [PATCH 1/2] rtc: rtc-cmos: " Alexandre Belloni

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.