linux/drivers/net/ethernet/smsc
Arnd Bergmann abc34d753e net: smc911x: avoid unused variable warnings
The change to use the generic DMA engine API in the smc911x
driver has led to a harmless warning about unused local variables:

smsc/smc911x.c: In function 'smc911x_probe':
smsc/smc911x.c:1796:20: error: unused variable 'param'
smsc/smc911x.c:1795:17: error: unused variable 'mask'
smsc/smc911x.c:1794:26: error: unused variable 'config'

This puts the variable declarations inside of the same #ifdef
that protects their use.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 79d3b59a93 ("net: smc911x: convert pxa dma to dmaengine")
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-21 11:26:12 -04:00
..
epic100.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
Kconfig net: smsc: Add support h8300 2016-01-15 15:14:23 -05:00
Makefile
smc91c92_cs.c net: smc91c92_cs: Use setup_timer and mod_timer 2015-03-01 13:40:22 -05:00
smc91x.c smc91x: avoid self-comparison warning 2016-03-14 19:37:03 -04:00
smc91x.h net: smsc: Add support h8300 2016-01-15 15:14:23 -05:00
smc911x.c net: smc911x: avoid unused variable warnings 2016-03-21 11:26:12 -04:00
smc911x.h net: smc911x: convert pxa dma to dmaengine 2016-03-18 22:23:59 -04:00
smc9194.c smsc9194: Remove uncompilable #if 0'd use of pr_dbg 2015-08-27 13:56:05 -07:00
smc9194.h
smsc911x.c phy: Add an mdio_device structure 2016-01-07 14:31:26 -05:00
smsc911x.h smsc: replace WARN_ON() with WARN_ON_SMP() 2014-08-11 14:38:29 -07:00
smsc9420.c phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
smsc9420.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00