]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3a7b2a14365a49c9d4642592cc551a3555677c4
treea44117a7562f1dc30538d802ed1f5a3510b9dda5
parentef0e1988655a1847629da856b51182a8bf7e1137
net: stmmac: Delete dead code for MDIO registration

This code is no longer used, the logging function was changed by commit
277c2d0198a3 ("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: 277c2d0198a3 ("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