Re: [PATCH] net: phy: Fix a unused function gcc warning.

From: Florian Fainelli
Date: Sat Sep 29 2018 - 16:36:41 EST




On September 28, 2018 10:11:43 PM PDT, zhong jiang <zhongjiang@xxxxxxxxxx> wrote:
>Fix the following compile warning:
>
>drivers/net/phy/mdio-bcm-unimac.c:321:12: warning:
>'unimac_mdio_suspend' defined but not used [-Wunused-function]
> static int unimac_mdio_suspend(struct device *d)
> ^
>drivers/net/phy/mdio-bcm-unimac.c:330:12: warning: 'unimac_mdio_resume'
>defined but not used [-Wunused-function]
> static int unimac_mdio_resume(struct device *d)
>
>Signed-off-by: zhong jiang <zhongjiang@xxxxxxxxxx>

Thank you, Arnd already sent a patch for this which got accepted:

https://patchwork.ozlabs.org/patch/975088/
--
Florian