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

From: Stephen Rothwell
Date: Mon Mar 23 2020 - 01:24:17 EST


Hi all,

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

drivers/rtc/rtc-fsl-ftm-alarm.c: In function 'ftm_rtc_probe':
drivers/rtc/rtc-fsl-ftm-alarm.c:246:22: warning: unused variable 'np' [-Wunused-variable]
246 | struct device_node *np = pdev->dev.of_node;
| ^~

Introduced by commit

cd49b579e705 ("rtc: fsl-ftm-alarm: enable acpi support")

--
Cheers,
Stephen Rothwell

Attachment: pgp1Wfye_LMdm.pgp
Description: OpenPGP digital signature