]> 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)
commit96093eb4f4f2679f45e98f1ac113e14e385b390c
tree7ab24187543b7466dac94f70661dcda50753d74f
parentf85df2120ea160d76f2560a503173d19da3f0ff2
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