aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorArkadi Sharshevsky <arkadis@mellanox.com>2017-08-06 16:15:48 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-07 14:48:48 -0700
commitdc0cbff3ff9fe331160c2be2b3f47564e247137d (patch)
treebb80f34775ce7359f107d40528c1b2ab67a719f3 /include/net/dsa.h
parentnet: dsa: Remove support for MDB dump from DSA's drivers (diff)
downloadwireguard-linux-dc0cbff3ff9fe331160c2be2b3f47564e247137d.tar.xz
wireguard-linux-dc0cbff3ff9fe331160c2be2b3f47564e247137d.zip
net: dsa: Remove redundant MDB dump support
Currently the MDB HW database is synced with the bridge's one, thus, There is no need to support special dump functionality. 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/net/dsa.h')
-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 d7b9bdd0e768..4ef185997b6f 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -400,10 +400,6 @@ struct dsa_switch_ops {
struct switchdev_trans *trans);
int (*port_mdb_del)(struct dsa_switch *ds, int port,
const struct switchdev_obj_port_mdb *mdb);
- int (*port_mdb_dump)(struct dsa_switch *ds, int port,
- struct switchdev_obj_port_mdb *mdb,
- switchdev_obj_dump_cb_t *cb);
-
/*
* RXNFC
*/