net: smc91x: Remove an unused variable
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 30 Mar 2015 16:43:38 +0000 (13:43 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 20:41:12 +0000 (16:41 -0400)
commit34d21e3f399729ca7c89636207fe41c481d99352
tree8cd3297ccd31d7b6527eb023b3d95591a762bbf8
parent7b6249bba940f57c20cdde793b306ca3831778c7
net: smc91x: Remove an unused variable

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 <build@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc91x.c