Re: [PATCH net-next v2 1/3] net: dsa: remove useless argument in legacy setup
On 08/05/2017 01:20 PM, Vivien Didelot wrote: > dsa_switch_alloc() already assigns ds-dev, which can be used in > dsa_switch_setup_one and dsa_cpu_dsa_setups instead of requiring an > additional struct device argument. > > Signed-off-by: Vivien Didelot
[PATCH net-next v2 1/3] net: dsa: remove useless argument in legacy setup
dsa_switch_alloc() already assigns ds-dev, which can be used in dsa_switch_setup_one and dsa_cpu_dsa_setups instead of requiring an additional struct device argument. Signed-off-by: Vivien Didelot--- net/dsa/legacy.c | 16 1 file changed, 8