diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-02-23 17:13:56 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-25 20:20:21 (GMT) |
commit | 477b184526a7f44164029eea720da0e0c888cac6 (patch) | |
tree | 5504d8512f44c09beea3bb6809ec17e20ddce60f /include/net/dsa.h | |
parent | ceff5eff3a4c690764d11f2d759c27a0d2dea732 (diff) | |
download | linux-477b184526a7f44164029eea720da0e0c888cac6.tar.xz |
net: dsa: drop vlan_getnext
The VLAN GetNext operation is specific to some switches, and thus can be
complicated to implement for some drivers.
Remove the support for the vlan_getnext/port_pvid_get approach in favor
of the generic and simpler port_vlan_dump function.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r-- | include/net/dsa.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index ebc0d9e..3dd5486 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -316,9 +316,6 @@ struct dsa_switch_driver { int (*port_vlan_dump)(struct dsa_switch *ds, int port, struct switchdev_obj_port_vlan *vlan, int (*cb)(struct switchdev_obj *obj)); - int (*port_pvid_get)(struct dsa_switch *ds, int port, u16 *pvid); - int (*vlan_getnext)(struct dsa_switch *ds, u16 *vid, - unsigned long *ports, unsigned long *untagged); /* * Forwarding database |