Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Aug 21, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/rtc/rtc-aspeed.c: In function 'aspeed_rtc_probe':
drivers/rtc/rtc-aspeed.c:89:6: warning: unused variable 'ret' [-Wunused-variable]

  int ret;
      ^~~
drivers/rtc/rtc-armada38x.c: In function 'armada38x_rtc_probe':
drivers/rtc/rtc-armada38x.c:505:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret;
      ^~~

Introduced by commit

5a3a2836e8bf ("rtc: remove superfluous error message")

Signature · 2 lines
Cheers,
Stephen Rothwell