diff options
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
-rw-r--r-- | drivers/net/dsa/microchip/ksz_common.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index 25b94edc5526..663b0d5b982b 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c | |||
@@ -856,16 +856,14 @@ exit: | |||
856 | } | 856 | } |
857 | 857 | ||
858 | static int ksz_port_mdb_prepare(struct dsa_switch *ds, int port, | 858 | static int ksz_port_mdb_prepare(struct dsa_switch *ds, int port, |
859 | const struct switchdev_obj_port_mdb *mdb, | 859 | const struct switchdev_obj_port_mdb *mdb) |
860 | struct switchdev_trans *trans) | ||
861 | { | 860 | { |
862 | /* nothing to do */ | 861 | /* nothing to do */ |
863 | return 0; | 862 | return 0; |
864 | } | 863 | } |
865 | 864 | ||
866 | static void ksz_port_mdb_add(struct dsa_switch *ds, int port, | 865 | static void ksz_port_mdb_add(struct dsa_switch *ds, int port, |
867 | const struct switchdev_obj_port_mdb *mdb, | 866 | const struct switchdev_obj_port_mdb *mdb) |
868 | struct switchdev_trans *trans) | ||
869 | { | 867 | { |
870 | struct ksz_device *dev = ds->priv; | 868 | struct ksz_device *dev = ds->priv; |
871 | u32 static_table[4]; | 869 | u32 static_table[4]; |