From: Christian Engelmayer Date: Fri, 23 May 2014 21:33:55 +0000 (+0200) Subject: of: mdio: fix compile warning in of_mdiobus_register_phy() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=587b24a54984f626337d8a6ce2931994c342ded3;p=pandora-kernel.git 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 Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed