Re: [PATCH net-next 1/6] net: dsa: remove trans argument from mdb ops

2017-11-09 Thread Vivien Didelot
Hi Egil, Egil Hjelmeland writes: > On 08. nov. 2017 18:19, Vivien Didelot wrote: >> 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.

Re: [PATCH net-next 1/6] net: dsa: remove trans argument from mdb ops

2017-11-09 Thread Egil Hjelmeland
On 08. nov. 2017 18:19, Vivien Didelot wrote: 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. - int (*port_mdb_prepare)(struct dsa

[PATCH net-next 1/6] net: dsa: remove trans argument from mdb ops

2017-11-08 Thread Vivien Didelot
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 --- drivers/net/dsa/lan9303-core.c | 6 ++ driver