net: dsa: remove useless args of dsa_cpu_dsa_setup
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sat, 5 Aug 2017 20:20:18 +0000 (16:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:22:42 +0000 (14:22 -0700)
commit47d0dcc35412feb354aace4c5dcc07c03cb4ccb0
treed90418cb977feac7cebf419a43dc36e2ee018f7f
parent206e41fe7f441542e8b92b314cfcdab21c709233
net: dsa: remove useless args of dsa_cpu_dsa_setup

dsa_cpu_dsa_setup currently takes 4 arguments but they are all available
from the dsa_port argument. Remove all others.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c
net/dsa/dsa2.c
net/dsa/dsa_priv.h
net/dsa/legacy.c