diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-10-03 19:09:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-07 11:58:47 +0200 |
commit | 4bac50bace0377138fed2ac3627c1ad470ea1eca (patch) | |
tree | ab1ea5bfd6009271431cd35b75c3dfd2804f27be /drivers/net/dsa/mv88e6131.c | |
parent | Revert "regmap: Allow installing custom reg_update_bits function" (diff) | |
download | linux-4bac50bace0377138fed2ac3627c1ad470ea1eca.tar.xz linux-4bac50bace0377138fed2ac3627c1ad470ea1eca.zip |
net: dsa: mv88e6xxx: remove link polling
The link status is polled by the generic phy layer, there's no need to
duplicate that polling with additional polling. This additional polling
adds additional MDIO traffic, and races with the generic phy layer,
resulting in missing or duplicated link status messages.
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6131.c')
-rw-r--r-- | drivers/net/dsa/mv88e6131.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6131.c b/drivers/net/dsa/mv88e6131.c index 3e8386529965..c73121c8f155 100644 --- a/drivers/net/dsa/mv88e6131.c +++ b/drivers/net/dsa/mv88e6131.c @@ -178,7 +178,6 @@ struct dsa_switch_driver mv88e6131_switch_driver = { .set_addr = mv88e6xxx_set_addr_direct, .phy_read = mv88e6131_phy_read, .phy_write = mv88e6131_phy_write, - .poll_link = mv88e6xxx_poll_link, .get_strings = mv88e6xxx_get_strings, .get_ethtool_stats = mv88e6xxx_get_ethtool_stats, .get_sset_count = mv88e6xxx_get_sset_count, |