mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
2c49471b66
commit
1a49a2fbf8
2 changed files with 1 additions and 27 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue