net: ethernet: mediatek: remove superfluous local variable for phy address
authorSean Wang <sean.wang@mediatek.com>
Thu, 22 Sep 2016 08:36:15 +0000 (16:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 12:22:27 +0000 (08:22 -0400)
commita2b2a19f0fbc674478a6806ea9e4f6aff06763f8
tree73296512c7dc421208a6184573a2b02e1bba7648
parent2364c5c5ec14e936826eb10af56a337ccec01ffa
net: ethernet: mediatek: remove superfluous local variable for phy address

remove the unused variable for parsing PHY address
and the related logic for sanity test which would
be all already handled done when of_mdiobus_register
was called

Reported-by: Nelson Chang <nelson.chang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c