diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-10-22 15:34:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-22 16:38:45 +0200 |
commit | 1a49a2fbf8c15d63a0b5e60d935ec7d5d3d07fd5 (patch) | |
tree | 75dc9acfc1527604786d6747bf1ad6def40ad7cc /include/net/dsa.h | |
parent | net: dsa: mv88e6xxx: remove port_fdb_getnext (diff) | |
download | linux-1a49a2fbf8c15d63a0b5e60d935ec7d5d3d07fd5.tar.xz linux-1a49a2fbf8c15d63a0b5e60d935ec7d5d3d07fd5.zip |
net: dsa: remove port_fdb_getnext
No driver implements port_fdb_getnext anymore, and port_fdb_dump is
preferred anyway, so remove this function from DSA.
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 0cfa44af8fd2..98ccbdef646f 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -328,9 +328,6 @@ struct dsa_switch_driver { struct switchdev_trans *trans); int (*port_fdb_del)(struct dsa_switch *ds, int port, const struct switchdev_obj_port_fdb *fdb); - int (*port_fdb_getnext)(struct dsa_switch *ds, int port, - unsigned char *addr, u16 *vid, - bool *is_static); int (*port_fdb_dump)(struct dsa_switch *ds, int port, struct switchdev_obj_port_fdb *fdb, int (*cb)(struct switchdev_obj *obj)); |