commit | e74f014eb4ceeeefe4e5058daac705422eecb683 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <olteanv@gmail.com> | Sun Apr 28 21:45:53 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 30 23:05:29 2019 -0400 |
tree | 162e6cfca270431f829a2fe0ae1676a01cad57e2 | |
parent | 864cd7b05dec190c7331a59c899749dbe940ecad [diff] |
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>