net: lpc_eth: Remove unused variables
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 8 Jan 2016 12:19:16 +0000 (10:19 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 03:50:14 +0000 (22:50 -0500)
commit541b8e291f29e480fb9c6400ce796c2eaefe9229
tree9a5febf5adc3f8b116ff849c588682519c347c84
parentfdffd2e8c7b361a831dc023c22bb8f4685c241ac
net: lpc_eth: Remove unused variables

Commit e7f4dc3536a400 ("mdio: Move allocation of interrupts into core")
introduced the following build warnings:

drivers/net/ethernet/nxp/lpc_eth.c: In function 'lpc_mii_init':
drivers/net/ethernet/nxp/lpc_eth.c:865:1: warning: label 'err_out_1' defined but not used [-Wunused-label]
drivers/net/ethernet/nxp/lpc_eth.c:826:20: warning: unused variable 'i' [-Wunused-variable]

Remove the unused variables to fix them.

Reported-by: Olof's autobuilder <build@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nxp/lpc_eth.c