RE: [Intel-wired-lan] [PATCH net-next] igb: mark PM functions as __maybe_unused

2017-05-02 Thread Brown, Aaron F
suosl.org; David S. Miller > > Subject: [Intel-wired-lan] [PATCH net-next] 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: > > d

[PATCH net-next] igb: mark PM functions as __maybe_unused

2017-04-27 Thread Arnd Bergmann
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, in