net: stmmac: Delete dead code for MDIO registration
authorRomain Perier <romain.perier@collabora.com>
Mon, 4 Sep 2017 08:41:36 +0000 (10:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Sep 2017 21:36:18 +0000 (14:36 -0700)
commit5e369aefdce4818c8264b81d3436eccf35af561e
treea44117a7562f1dc30538d802ed1f5a3510b9dda5
parent5d621672bc1a1e5090c1ac5432a18c79e0e13e03
net: stmmac: Delete dead code for MDIO registration

This code is no longer used, the logging function was changed by commit
fbca164776e4 ("net: stmmac: Use the right logging function in stmmac_mdio_register").
It was previously showing information about the type of the IRQ, if it's
polled, ignored or a normal interrupt. As we don't want information loss,
I have moved this code to phy_attached_print().

Fixes: fbca164776e4 ("net: stmmac: Use the right logging function in stmmac_mdio_register")
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
drivers/net/phy/phy_device.c