Re: [PATCH] net: smc911x: avoid unused variable warnings

2016-03-21 Thread David Miller
From: Arnd Bergmann Date: Mon, 21 Mar 2016 09:30:59 +0100 > 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' >

[PATCH] net: smc911x: avoid unused variable warnings

2016-03-21 Thread Arnd Bergmann
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:17