amd-xgbe: Fix unused suspend handlers build warning
authorBorislav Petkov <bp@suse.de>
Sat, 26 Nov 2016 20:53:52 +0000 (21:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 17:19:36 +0000 (12:19 -0500)
commit91eefaabf102c539e6f5531e9a1e5ed46d2b41ca
treeb1c69122fec2b3aa225e9c6945d822b9fdd40ae9
parent4df21dfcf2291865cf673ac786a81c7a3f7afcf5
amd-xgbe: Fix unused suspend handlers build warning

Fix:

  drivers/net/ethernet/amd/xgbe/xgbe-main.c:835:12: warning: ‘xgbe_suspend’ defined
    but not used [-Wunused-function]
  drivers/net/ethernet/amd/xgbe/xgbe-main.c:855:12: warning: ‘xgbe_resume’ defined
    but not used [-Wunused-function]

I see it during randconfig builds here.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-main.c