Subject: linux-next: build warning after merge of the rtc tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 11 Jul 2016 18:12:08 +1000

Hi Alexandre,

After merging the rtc tree, today's linux-next build (x86 64_allmodconfig)
produced this warning:

drivers/rtc/rtc-isl12057.c: In function 'isl12057_rtc_read_alarm':
drivers/rtc/rtc-isl12057.c:249:26: warning: unused variable 'alarm_secs' [-Wunused-variable]
  unsigned long rtc_secs, alarm_secs;
                          ^
drivers/rtc/rtc-isl12057.c:249:16: warning: unused variable 'rtc_secs' [-Wunused-variable]
  unsigned long rtc_secs, alarm_secs;
                ^
drivers/rtc/rtc-isl12057.c:248:18: warning: unused variable 'rtc_tm' [-Wunused-variable]
  struct rtc_time rtc_tm, *alarm_tm = &alarm->time;
                  ^

Introduced by commit

  4e30a585a343 ("rtc: isl12057: let the rtc core interpret the partial alarm")

-- 
Cheers,
Stephen Rothwell