summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArkadi Sharshevsky <arkadis@mellanox.com>2017-08-06 16:15:46 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-07 14:48:48 -0700
commitc069fcd82c571953b8aaf68769afe9ccb1aa7a9f (patch)
tree037c1c9da697426652421368ca83af1ba2290c78 /include
parenta0b6b8c9fa3c73a523735b8b5f87f59211c70a4e (diff)
downloadlinux-c069fcd82c571953b8aaf68769afe9ccb1aa7a9f.tar.bz2
net: dsa: Remove support for bypass bridge port attributes/vlan set
The bridge port attributes/vlan for DSA devices should be set only from bridge code. Furthermore, The vlans are synced totally with the bridge so there is no need for special dump support. Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/dsa.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 446fc438cb80..d7b9bdd0e768 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -378,10 +378,6 @@ struct dsa_switch_ops {
struct switchdev_trans *trans);
int (*port_vlan_del)(struct dsa_switch *ds, int port,
const struct switchdev_obj_port_vlan *vlan);
- int (*port_vlan_dump)(struct dsa_switch *ds, int port,
- struct switchdev_obj_port_vlan *vlan,
- switchdev_obj_dump_cb_t *cb);
-
/*
* Forwarding database
*/