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 e1000e: Reduce boot time by tightening sleep ranges 2019-06-28 15:59:52 -07:00
80003es2lan.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
82571.c e1000e: Reduce boot time by tightening sleep ranges 2019-06-28 15:59:52 -07:00
82571.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
defines.h e1000e: PCIm function state support 2019-06-28 16:00:28 -07:00
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 e1000e: add workaround for possible stalled packet 2019-07-24 13:55:09 -07:00
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 net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
manage.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
manage.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
netdev.c e1000e: fix unused-function warning 2020-06-16 15:42:08 -07:00
nvm.c e1000e: Reduce boot time by tightening sleep ranges 2019-06-28 15:59:52 -07:00
nvm.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
param.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
phy.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
phy.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
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