mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Cc: Kristoffer Glembo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
21916a4a29
commit
b1ac6b7b40
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue