]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: remove useless args of dsa_slave_create
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sat, 5 Aug 2017 20:20:19 +0000 (16:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:24:14 +0000 (14:24 -0700)
commit25b32595208d6a0cd02ccadd7839f7b536b199ce
tree7ab24187543b7466dac94f70661dcda50753d74f
parentcad913ebdf5ecb07bccb4dc875c5e488381a86b4
net: dsa: remove useless args of dsa_slave_create

dsa_slave_create currently takes 4 arguments while it only needs the
related dsa_port and its name. Remove all other arguments.

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/dsa2.c
net/dsa/dsa_priv.h
net/dsa/legacy.c
net/dsa/slave.c