Arnd Bergmann 57e7c8cef2 net: vxge: avoid unused function warnings
When CONFIG_PCI_MSI is disabled, we get warnings about unused functions
in the vxge driver:

drivers/net/ethernet/neterion/vxge/vxge-main.c:2121:13: warning: 'adaptive_coalesce_tx_interrupts' defined but not used [-Wunused-function]
drivers/net/ethernet/neterion/vxge/vxge-main.c:2149:13: warning: 'adaptive_coalesce_rx_interrupts' defined but not used [-Wunused-function]

We could add another #ifdef here, but it's nicer to avoid those warnings
for good by converting the existing #ifdef to if(IS_ENABLED()), which has
the same effect but provides better compile-time coverage in general,
and lets the compiler understand better when the function is intentionally
unused.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-01-29 20:33:39 -08:00
..
2016-01-07 14:31:26 -05:00
2016-01-07 14:31:26 -05:00
2015-09-29 21:11:13 -07:00
2016-01-25 10:51:52 -08:00
2015-09-08 22:44:42 -07:00
2015-11-20 14:48:27 -05:00
2016-01-29 20:33:38 -08:00
2016-01-10 22:50:14 -05:00
2016-01-15 15:14:23 -05:00
2016-01-04 16:07:16 -05:00
2016-01-07 14:31:26 -05:00
2015-07-08 16:04:06 -07:00