]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: lpc_eth: remove unused local variable
authorVladimir Zapolskiy <vz@mleia.com>
Thu, 18 Oct 2018 23:06:53 +0000 (02:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Oct 2018 00:04:38 +0000 (17:04 -0700)
commit744ff2ba0f1068b2cc3fce6a30b25d0beb63cd79
tree937263aa0721f7e554d39a70efecb60ee872332b
parentdf1d4b42d0d613a2269b278f274c39bc6014c5a5
net: ethernet: lpc_eth: remove unused local variable

A trivial change which removes an unused local variable, the issue
is reported as a compile time warning:

  drivers/net/ethernet/nxp/lpc_eth.c: In function 'lpc_eth_drv_probe':
  drivers/net/ethernet/nxp/lpc_eth.c:1250:21: warning: variable 'phydev' set but not used [-Wunused-but-set-variable]
    struct phy_device *phydev;
                       ^~~~~~

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nxp/lpc_eth.c