summaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-05-05 19:22:13 +0300
committerJakub Kicinski <kuba@kernel.org>2022-05-06 21:00:12 -0700
commitfe5233b0ba0d2216d549f93e4540542b99b97642 (patch)
tree64882d226006e96d1ac3c1fb6e53b34bf166cae7 /include/net/dsa.h
parent28de0f9fec5a84bd5b56d6364432a8730eac410a (diff)
downloadlinux-stable-fe5233b0ba0d2216d549f93e4540542b99b97642.tar.gz
linux-stable-fe5233b0ba0d2216d549f93e4540542b99b97642.tar.bz2
linux-stable-fe5233b0ba0d2216d549f93e4540542b99b97642.zip
net: dsa: delete dsa_port_walk_{fdbs,mdbs}
All the users of these functions are gone, delete them before they gain new ones. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 934958fda962..efd33956df37 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -1239,12 +1239,6 @@ struct dsa_switch_driver {
struct net_device *dsa_dev_to_net_device(struct device *dev);
-typedef int dsa_fdb_walk_cb_t(struct dsa_switch *ds, int port,
- const unsigned char *addr, u16 vid,
- struct dsa_db db);
-
-int dsa_port_walk_fdbs(struct dsa_switch *ds, int port, dsa_fdb_walk_cb_t cb);
-int dsa_port_walk_mdbs(struct dsa_switch *ds, int port, dsa_fdb_walk_cb_t cb);
bool dsa_fdb_present_in_other_db(struct dsa_switch *ds, int port,
const unsigned char *addr, u16 vid,
struct dsa_db db);