diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-01-27 23:29:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-30 02:42:46 +0300 |
commit | 922754a48a4e4b87ee6f5bf80e7463a82e124ab8 (patch) | |
tree | 6d590a15585c4aa10f2a365cfb8b569939c6b488 /drivers/net/dsa/qca8k.h | |
parent | fae8a25e5b3b627f1ea005ffa663d067f4d5fe44 (diff) | |
download | linux-922754a48a4e4b87ee6f5bf80e7463a82e124ab8.tar.xz |
net: dsa: qca8k: use dsa_port's bridge pointer
Now that DSA exposes the bridge device pointer to which a port belongs,
use it when programming the port based VLANs and thus remove the cache.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/qca8k.h')
-rw-r--r-- | drivers/net/dsa/qca8k.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/qca8k.h b/drivers/net/dsa/qca8k.h index 201464719531..1ed4fac6cd6d 100644 --- a/drivers/net/dsa/qca8k.h +++ b/drivers/net/dsa/qca8k.h @@ -157,7 +157,6 @@ enum qca8k_fdb_cmd { struct ar8xxx_port_status { struct ethtool_eee eee; - struct net_device *bridge_dev; int enabled; }; |