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

From: Stephen Rothwell
Date: Tue Jul 07 2020 - 03:06:57 EST


Hi all,

After merging the net-next tree, today's linux-next build (sparc64
defconfig) produced this warning:

drivers/net/ethernet/sun/niu.c:9903:12: warning: 'niu_resume' defined but not used [-Wunused-function]
static int niu_resume(struct device *dev_d)
^~~~~~~~~~
drivers/net/ethernet/sun/niu.c:9876:12: warning: 'niu_suspend' defined but not used [-Wunused-function]
static int niu_suspend(struct device *dev_d)
^~~~~~~~~~~

Introduced by commit

b0db0cc2f695 ("sun/niu: use generic power management")

--
Cheers,
Stephen Rothwell

Attachment: pgpfmkq9pAHaS.pgp
Description: OpenPGP digital signature