]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
of: mdio: fix compile warning in of_mdiobus_register_phy()
authorChristian Engelmayer <cengelma@gmx.at>
Fri, 23 May 2014 21:33:55 +0000 (23:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 May 2014 04:32:37 +0000 (00:32 -0400)
commit587b24a54984f626337d8a6ce2931994c342ded3
treed5723ec9910a88a09edf5bd0dcffb62e192f4e08
parent506724c463fcd63477a5e404728a980b71f80bb7
of: mdio: fix compile warning in of_mdiobus_register_phy()

Commit de906af1 (net: phy: make of_set_phy_supported work with genphy driver)
removed the last user of variable 'max_speed' in function
of_mdiobus_register_phy(), leading to compile warning "unused variable
‘max_speed’ [-Wunused-variable]". Thus remove it.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/of_mdio.c