OSDN Git Service

net: ethernet: Fix a unused function warning.
authorzhong jiang <zhongjiang@huawei.com>
Mon, 17 Sep 2018 10:44:19 +0000 (18:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Sep 2018 15:24:25 +0000 (08:24 -0700)
commitc73480910e9686a5c25155cb4d418d594b678196
tree59434b140311a02899c747f90404aacd640bf0cb
parentddca24dfcf1bec608668dd44c45d49397b70f520
net: ethernet: Fix a unused function warning.

Fix the following compile warning:

drivers/net/ethernet/microchip/lan743x_main.c:2964:12: warning: \91lan743x_pm_suspend\92 defined but not used [-Wunused-function]
 static int lan743x_pm_suspend(struct device *dev)
drivers/net/ethernet/microchip/lan743x_main.c:2987:12: warning: \91lan743x_pm_resume\92 defined but not used [-Wunused-function]
 static int lan743x_pm_resume(struct device *dev)

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan743x_main.c