summaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-11-30 11:23:58 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-02 21:18:56 -0500
commit3709aadc8375a1b0c42da5b12e38eddf8133dd4e (patch)
tree99012d5f5ec8279d23dee2c9475ed3e8a1853985 /include/net/dsa.h
parent80e023607982faa6245507c45acf93bb0feb0ded (diff)
net: dsa: remove trans argument from mdb ops
The DSA switch MDB ops pass the switchdev_trans structure down to the drivers, but no one is using them and they aren't supposed to anyway. Remove the trans argument from MDB prepare and add operations. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 0c4fbb34379e..6700dff46a80 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -431,12 +431,10 @@ struct dsa_switch_ops {
431 /* 431 /*
432 * Multicast database 432 * Multicast database
433 */ 433 */
434 int (*port_mdb_prepare)(struct dsa_switch *ds, int port, 434 int (*port_mdb_prepare)(struct dsa_switch *ds, int port,
435 const struct switchdev_obj_port_mdb *mdb, 435 const struct switchdev_obj_port_mdb *mdb);
436 struct switchdev_trans *trans); 436 void (*port_mdb_add)(struct dsa_switch *ds, int port,
437 void (*port_mdb_add)(struct dsa_switch *ds, int port, 437 const struct switchdev_obj_port_mdb *mdb);
438 const struct switchdev_obj_port_mdb *mdb,
439 struct switchdev_trans *trans);
440 int (*port_mdb_del)(struct dsa_switch *ds, int port, 438 int (*port_mdb_del)(struct dsa_switch *ds, int port,
441 const struct switchdev_obj_port_mdb *mdb); 439 const struct switchdev_obj_port_mdb *mdb);
442 /* 440 /*