linux/drivers/net
Arnd Bergmann 000ba1f2eb igb: mark PM functions as __maybe_unused
The new wake function is only used by the suspend/resume handlers that
are defined in inside of an #ifdef, which can cause this harmless
warning:

drivers/net/ethernet/intel/igb/igb_main.c:7988:13: warning: 'igb_deliver_wake_packet' defined but not used [-Wunused-function]

Removing the #ifdef, instead using a __maybe_unused annotation
simplifies the code and avoids the warning.

Fixes: b90fa87635 ("igb: Enable reading of wake up packet")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-06-06 00:51:36 -07:00
..
appletalk
arcnet
bonding bonding: Prevent duplicate userspace notification 2017-05-27 18:51:41 -04:00
caif
can can: m_can: add deep Suspend/Resume support 2017-05-18 10:32:48 +02:00
cris net/{mii, smsc}: Make mii_ethtool_get_link_ksettings and smc_netdev_get_ecmd return void 2017-06-05 11:00:42 -04:00
dsa net: dsa: mv88e6xxx: mv88e6161 uses mv88e6320 stats snapshot 2017-06-04 21:34:17 -04:00
ethernet igb: mark PM functions as __maybe_unused 2017-06-06 00:51:36 -07:00
fddi
fjes
hamradio
hippi
hyperv netvsc: Add #include's for csum_* function declarations 2017-05-31 13:59:03 -04:00
ieee802154 net: ieee802154: fix potential null pointer dereference 2017-05-23 20:12:53 +02:00
ipvlan
irda Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-05-15 15:50:49 -07:00
phy mdio: mux: fix an incorrect less than zero error check using a u32 2017-06-05 17:45:51 -04:00
plip
ppp ppp: remove unnecessary bh disable in xmit path 2017-06-01 11:57:36 -04:00
slip
team team: add macro MODULE_ALIAS_TEAM_MODE for team mode alias 2017-06-02 10:20:49 -04:00
usb net/{mii, smsc}: Make mii_ethtool_get_link_ksettings and smc_netdev_get_ecmd return void 2017-06-05 11:00:42 -04:00
vmxnet3
wan net/wan/fsl_ucc_hdlc: fix muram allocation error 2017-05-22 12:28:45 -04:00
wimax
wireless
xen-netback
dummy.c
eql.c
geneve.c geneve: fix fill_info when using collect_metadata 2017-05-25 12:51:16 -04:00
gtp.c net: fix potential null pointer dereference 2017-05-25 12:54:02 -04:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: check return value of skb_to_sgvec always 2017-06-04 23:01:47 -04:00
macvlan.c macvlan: Fix performance issues with vlan tagged packets 2017-05-15 14:18:11 -04:00
macvtap.c
Makefile
mdio.c
mii.c net/{mii, smsc}: Make mii_ethtool_get_link_ksettings and smc_netdev_get_ecmd return void 2017-06-05 11:00:42 -04:00
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c tap: support receiving skb from msg_control 2017-05-18 10:07:41 -04:00
tun.c tun: support receiving skb through msg_control 2017-05-18 10:07:41 -04:00
veth.c
virtio_net.c virtio_net: check return value of skb_to_sgvec always 2017-06-04 23:01:48 -04:00
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c