Re: [PATCH net-next v2 0/3] net: dsa: remove useless arguments

2017-08-07 Thread David Miller
From: Vivien Didelot Date: Sat, 5 Aug 2017 16:20:16 -0400 > Several DSA core setup functions take many arguments, mostly because of > the legacy code. This patch series removes the useless args of these > functions, where either the dsa_switch or dsa_port

[PATCH net-next v2 0/3] net: dsa: remove useless arguments

2017-08-05 Thread Vivien Didelot
Several DSA core setup functions take many arguments, mostly because of the legacy code. This patch series removes the useless args of these functions, where either the dsa_switch or dsa_port argument is enough. Changes in v2: - ds->dev is already assigned by dsa_switch_alloc Vivien Didelot