aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-05-27 15:47:00 +0200
committerJeff Kirsher <[email protected]>2020-06-16 15:42:08 -0700
commit880e6269fd6e60249c8f5f1b98295e9f7e56636d (patch)
treeceffa256b81e12f45db07ad336cc48f3cd65bce5 /include/linux/fpga/fpga-mgr.h
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 <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions