Thread (5 messages) 5 messages, 3 authors, 2015-03-31

Re: [PATCH net-next] net: smc91x: Remove an unused variable

From: David Miller <davem@davemloft.net>
Date: 2015-03-31 14:53:30

From: Uwe Kleine-König <redacted>
Date: Mon, 30 Mar 2015 19:20:57 +0200
On Mon, Mar 30, 2015 at 01:43:38PM -0300, Fabio Estevam wrote:
quoted
From: Fabio Estevam <redacted>

Commit cb6e0b3690f48dff ("net: smc91x: make use of 4th parameter to devm_gpiod_get_index")
caused the following build warning:

drivers/net/ethernet/smsc/smc91x.c:2208:6: warning: unused variable 'res' [-Wunused-variable]

Remove the unused 'res' variable.

Reported-by: Olof's autobuilder <redacted>
Signed-off-by: Fabio Estevam <redacted>
I wonder why I didn't notice this because the 0day build robot tested my
tree and didn't report this warning. Probably that means this driver
wasn't tested.
This driver can't be enabled on x86/x86-64 so the build testing it will
get is going to be extremely limited.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help