summaryrefslogtreecommitdiff
path: root/net/core/dev_addr_lists.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-08-14 00:10:34 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-13 20:45:49 -0700
commitcf87615d15f37182b2a3a4cd722288d3d5956900 (patch)
tree69ea7894a0f041323268b959fc60dfca052acef0 /net/core/dev_addr_lists.c
parent81a8b0799632627b587af31ecd06112397e4ec36 (diff)
net: systemport: fix unused function warning
The only remaining caller of this function is inside of an #ifdef after another caller got removed. This causes a harmless warning in some configurations: drivers/net/ethernet/broadcom/bcmsysport.c:1068:13: error: 'bcm_sysport_resume_from_wol' defined but not used [-Werror=unused-function] Removing the #ifdef around the PM functions simplifies the code and avoids the problem but letting the compiler drop the unused functions silently. Fixes: 9e85e22713d6 ("net: systemport: Do not re-configure upon WoL interrupt") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev_addr_lists.c')
0 files changed, 0 insertions, 0 deletions