diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-02-19 14:47:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-19 19:41:50 +0300 |
commit | ccfbf44d4c7fb7c64cf79b3f2a5ae522e5165878 (patch) | |
tree | c1f487af6b9afcde152cc289fd6e03891e7bcccd /net | |
parent | e7f27420681f23e7e0f28beed38144058752112e (diff) | |
download | linux-ccfbf44d4c7fb7c64cf79b3f2a5ae522e5165878.tar.xz |
net: dsa: remove pcs_poll
With drivers converted over to using phylink PCS, there is no need for
the struct dsa_switch member "pcs_poll" to exist anymore - there is a
flag in the struct phylink_pcs which indicates whether this PCS needs
to be polled which supersedes this.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/dsa/port.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dsa/port.c b/net/dsa/port.c index 056c6f51ac20..258782bf4271 100644 --- a/net/dsa/port.c +++ b/net/dsa/port.c @@ -1251,7 +1251,6 @@ static int dsa_port_phylink_register(struct dsa_port *dp) dp->pl_config.dev = ds->dev; dp->pl_config.type = PHYLINK_DEV; - dp->pl_config.pcs_poll = ds->pcs_poll; err = dsa_port_phylink_create(dp); if (err) |