diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-04-28 20:45:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-01 05:05:29 +0200 |
commit | e74f014eb4ceeeefe4e5058daac705422eecb683 (patch) | |
tree | 162e6cfca270431f829a2fe0ae1676a01cad57e2 /net/dsa/slave.c | |
parent | net: dsa: b53: Let DSA call .port_vlan_filtering only when necessary (diff) | |
download | linux-e74f014eb4ceeeefe4e5058daac705422eecb683.tar.xz linux-e74f014eb4ceeeefe4e5058daac705422eecb683.zip |
net: dsa: b53: Use vlan_filtering property from dsa_switch
While possible (and safe) to use the newly introduced
dsa_port_is_vlan_filtering helper, fabricating a dsa_port pointer is a
bit awkward, so simply retrieve this from the dsa_switch structure.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions