summaryrefslogtreecommitdiff
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-03-21 08:30:59 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-03-21 15:26:12 (GMT)
commitabc34d753ee013a62595c2f7e9260e173dd083c6 (patch)
treed7ffa8f3b7d6842e56ad70d155eb608427d13939 /drivers/net/phy
parent1c191307af5f0135b9e35975f3cef4168cefee66 (diff)
downloadlinux-abc34d753ee013a62595c2f7e9260e173dd083c6.tar.xz
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: 79d3b59a93ba ("net: smc911x: convert pxa dma to dmaengine") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions