summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-05-27 15:47:00 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-06-16 15:42:08 -0700
commit880e6269fd6e60249c8f5f1b98295e9f7e56636d (patch)
treeceffa256b81e12f45db07ad336cc48f3cd65bce5 /drivers/mailbox
parenteb6779d4c505145f3d4331da505f4c058d02ad04 (diff)
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: e086ba2fccda ("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>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions