Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1ac6b7b authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Kristoffer Glembo <kristoffer@gaisler.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 21916a4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();