diff options
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
-rw-r--r-- | drivers/net/dsa/microchip/ksz_common.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index a53ce59e0442..4de9d90a4bb3 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c | |||
@@ -1020,14 +1020,6 @@ exit: | |||
1020 | return ret; | 1020 | return ret; |
1021 | } | 1021 | } |
1022 | 1022 | ||
1023 | static int ksz_port_mdb_dump(struct dsa_switch *ds, int port, | ||
1024 | struct switchdev_obj_port_mdb *mdb, | ||
1025 | switchdev_obj_dump_cb_t *cb) | ||
1026 | { | ||
1027 | /* this is not called by switch layer */ | ||
1028 | return 0; | ||
1029 | } | ||
1030 | |||
1031 | static int ksz_port_mirror_add(struct dsa_switch *ds, int port, | 1023 | static int ksz_port_mirror_add(struct dsa_switch *ds, int port, |
1032 | struct dsa_mall_mirror_tc_entry *mirror, | 1024 | struct dsa_mall_mirror_tc_entry *mirror, |
1033 | bool ingress) | 1025 | bool ingress) |
@@ -1090,7 +1082,6 @@ static const struct dsa_switch_ops ksz_switch_ops = { | |||
1090 | .port_mdb_prepare = ksz_port_mdb_prepare, | 1082 | .port_mdb_prepare = ksz_port_mdb_prepare, |
1091 | .port_mdb_add = ksz_port_mdb_add, | 1083 | .port_mdb_add = ksz_port_mdb_add, |
1092 | .port_mdb_del = ksz_port_mdb_del, | 1084 | .port_mdb_del = ksz_port_mdb_del, |
1093 | .port_mdb_dump = ksz_port_mdb_dump, | ||
1094 | .port_mirror_add = ksz_port_mirror_add, | 1085 | .port_mirror_add = ksz_port_mirror_add, |
1095 | .port_mirror_del = ksz_port_mirror_del, | 1086 | .port_mirror_del = ksz_port_mirror_del, |
1096 | }; | 1087 | }; |