diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-09-22 21:36:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-23 14:53:59 +0300 |
commit | 9aad3e4ede9bebda23579f674420123dacb61fda (patch) | |
tree | 4414fdecb3227a7e01e7bf0d6eeffc008aea7856 /drivers/net/dsa/b53/b53_priv.h | |
parent | 5146a574606ae6543adeb04471cc4903ee169fb6 (diff) | |
download | linux-9aad3e4ede9bebda23579f674420123dacb61fda.tar.xz |
net: dsa: sja1105: stop using priv->vlan_aware
Now that the sja1105 driver is finally sane enough again to stop having
a ternary VLAN awareness state, we can remove priv->vlan_aware and query
DSA for the ds->vlan_filtering value (for SJA1105, VLAN filtering is a
global property).
Also drop the paranoid checking that DSA calls ->port_vlan_filtering
multiple times without the VLAN awareness state changing. It doesn't,
the same check is present inside dsa_port_vlan_filtering too.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/b53/b53_priv.h')
0 files changed, 0 insertions, 0 deletions