diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2016-04-24 19:39:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-21 04:33:37 +0300 |
commit | b1ac6b7b4061f6c92bacf6938f94fb61b2fbf7f3 (patch) | |
tree | af16c85dec0505feb0ac0113f67235392474730b /drivers/net/ethernet/aeroflex | |
parent | 21916a4a2973ab1684e921689ef8a48a6626ac4c (diff) | |
download | linux-b1ac6b7b4061f6c92bacf6938f94fb61b2fbf7f3.tar.xz |
aeroflex/greth: fix warning about unused variable
Fix following warning:
aeroflex/greth.c:1326:11: warning: unused variable 'phy' [-Wunused-variable]
The variable was unused - remove it.
It looks like this warning has been there forever - was found by an
allyesconfig build of sparc32.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Kristoffer Glembo <kristoffer@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aeroflex')
-rw-r--r-- | drivers/net/ethernet/aeroflex/greth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aeroflex/greth.c b/drivers/net/ethernet/aeroflex/greth.c index b873531c5575..bca07c5c94bd 100644 --- a/drivers/net/ethernet/aeroflex/greth.c +++ b/drivers/net/ethernet/aeroflex/greth.c @@ -1323,7 +1323,7 @@ static inline int phy_aneg_done(struct phy_device *phydev) static int greth_mdio_init(struct greth_private *greth) { - int ret, phy; + int ret; unsigned long timeout; greth->mdio = mdiobus_alloc(); |