aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-04-27 21:09:52 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-06-06 00:51:36 -0700
commit000ba1f2ebf0d6f93b9ae6cfbe5417e66f1b8e8c (patch)
treebd8fcd2afaa3fdca25f710b872b6270db10d73ff /include/linux
parentigb: Explicitly select page 0 at initialization (diff)
downloadwireguard-linux-000ba1f2ebf0d6f93b9ae6cfbe5417e66f1b8e8c.tar.xz
wireguard-linux-000ba1f2ebf0d6f93b9ae6cfbe5417e66f1b8e8c.zip
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: b90fa8763560 ("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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions