mirror-linux/drivers/net/ethernet/intel/e1000e
Arnd Bergmann 880e6269fd e1000e: fix unused-function warning
The CONFIG_PM_SLEEP #ifdef checks in this file are inconsistent,
leading to a warning about sometimes unused function:

drivers/net/ethernet/intel/e1000e/netdev.c:137:13: error: unused function 'e1000e_check_me' [-Werror,-Wunused-function]

Rather than adding more #ifdefs, just remove them completely
and mark the PM functions as __maybe_unused to let the compiler
work it out on it own.

Fixes: e086ba2fcc ("e1000e: disable s0ix entry and exit flows for ME systems")
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>
2020-06-16 15:42:08 -07:00
..
80003es2lan.c
80003es2lan.h
82571.c
82571.h
Makefile
defines.h
e1000.h e1000e: Relax condition to trigger reset for ME workaround 2020-05-28 20:18:04 -07:00
ethtool.c e1000e: reject unsupported coalescing params 2020-03-05 12:12:35 -08:00
hw.h e1000e: Add support for Tiger Lake device 2020-02-19 16:51:24 -08:00
ich8lan.c e1000e: Warn if disabling ULP failed 2020-05-22 18:21:52 -07:00
ich8lan.h
mac.c net: intel: e1000e: fix possible sleep-in-atomic-context bugs in e1000e_get_hw_semaphore() 2020-02-19 15:25:59 -08:00
mac.h
manage.c
manage.h
netdev.c e1000e: fix unused-function warning 2020-06-16 15:42:08 -07:00
nvm.c
nvm.h
param.c
phy.c
phy.h
ptp.c e1000e: Add support for Alder Lake 2020-02-19 16:51:12 -08:00
regs.h e1000e: fix S0ix flows for cable connected case 2020-04-19 11:37:00 -07:00