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

From: Stephen Rothwell
Date: Thu Jul 06 2017 - 00:24:17 EST


Hi Alexandre,

After merging the rtc tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/rtc/rtc-ds1307.c: In function 'ds1307_get_time':
drivers/rtc/rtc-ds1307.c:342:26: warning: unused variable 'chip' [-Wunused-variable]
const struct chip_desc *chip = &chips[ds1307->type];
^

Introduced by commit

436c93db60a4 ("rtc: ds1307: factor out century bit handling")

--
Cheers,
Stephen Rothwell