diff options
author | David S. Miller <davem@davemloft.net> | 2022-02-19 16:41:50 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-19 16:41:50 +0000 |
commit | 0d0350c471ccd8d6a5b35e514e6b28e9a8fe4dbe (patch) | |
tree | 0d337e1ad02926ecf942657b99be04abeda052d7 /include/net/dsa.h | |
parent | e7f27420681f23e7e0f28beed38144058752112e (diff) | |
parent | 64b4a0f8b51b20e0c9dbff7748365994364d5f01 (diff) |
Merge branch 'phylink-remove-pcs_poll'
Russell King says:
====================
net: phylink: remove pcs_poll
This small series removes the now unused pcs_poll members from DSA and
phylink. "git grep pcs_poll drivers/net/ net/" on net-next confirms that
the only places that reference this are in DSA core code and phylink
code:
drivers/net/phy/phylink.c: if (pl->config->pcs_poll || pcs->poll)
drivers/net/phy/phylink.c: poll |= pl->config->pcs_poll;
net/dsa/port.c: dp->pl_config.pcs_poll = ds->pcs_poll;
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r-- | include/net/dsa.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index bc6eef6af810..f13de2d8aef3 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -391,11 +391,6 @@ struct dsa_switch { */ u32 vlan_filtering:1; - /* MAC PCS does not provide link state change interrupt, and requires - * polling. Flag passed on to PHYLINK. - */ - u32 pcs_poll:1; - /* For switches that only have the MRU configurable. To ensure the * configured MTU is not exceeded, normalization of MRU on all bridged * interfaces is needed. |