]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc262fd0a080e93c222b544ad536553ddcf69b1a4
tree59434b140311a02899c747f90404aacd640bf0cb
parenta1439a18e40bf2c07e11a3ccc709777ba727ecdb
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