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

2017-11-08 Thread Vivien Didelot
Hi Joe, Joe Perches writes: > On Wed, 2017-11-08 at 12:19 -0500, Vivien Didelot wrote: >> The DSA switch VLAN ops pass the switchdev_trans structure down to the >> drivers, but no one is using them and they aren't supposed to anyway. > [] >> diff --git a/include/net/dsa.h b/include/net/dsa.h > [

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

2017-11-08 Thread Joe Perches
On Wed, 2017-11-08 at 12:19 -0500, Vivien Didelot wrote: > The DSA switch VLAN ops pass the switchdev_trans structure down to the > drivers, but no one is using them and they aren't supposed to anyway. [] > diff --git a/include/net/dsa.h b/include/net/dsa.h [] > @@ -410,12 +410,10 @@ struct dsa_swi

[PATCH net-next 4/6] net: dsa: remove trans argument from vlan ops

2017-11-08 Thread Vivien Didelot
The DSA switch VLAN 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 VLAN prepare and add operations. At the same time, fix the following checkpatch warning: WARNING: line over 80 character