summaryrefslogtreecommitdiffstats
path: root/net/dsa/slave.c
diff options
context:
space:
mode:
authorArkadi Sharshevsky <arkadis@mellanox.com>2017-08-06 15:15:48 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-07 23:48:48 +0200
commitdc0cbff3ff9fe331160c2be2b3f47564e247137d (patch)
treebb80f34775ce7359f107d40528c1b2ab67a719f3 /net/dsa/slave.c
parentnet: dsa: Remove support for MDB dump from DSA's drivers (diff)
downloadlinux-dc0cbff3ff9fe331160c2be2b3f47564e247137d.tar.xz
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 'net/dsa/slave.c')
-rw-r--r--net/dsa/slave.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index ccf670679343..5807c905fd1d 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -299,9 +299,6 @@ static int dsa_slave_port_obj_dump(struct net_device *dev,
case SWITCHDEV_OBJ_ID_PORT_FDB:
err = dsa_port_fdb_dump(dp, SWITCHDEV_OBJ_PORT_FDB(obj), cb);
break;
- case SWITCHDEV_OBJ_ID_PORT_MDB:
- err = dsa_port_mdb_dump(dp, SWITCHDEV_OBJ_PORT_MDB(obj), cb);
- break;
default:
err = -EOPNOTSUPP;
break;