]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: dsa: Consistently use dsa_port for dsa_*_port_{apply, unapply}
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 2 Jun 2017 19:31:22 +0000 (12:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2017 00:05:15 +0000 (20:05 -0400)
commite41c1b5030e279c6626d3d052c3ca5ce5e2508df
tree69abe1f7afc3648bbaf9a04cfa2c3226f7db2cde
parent937c7df85ce7ce6b2319894f6ad3376f15dff186
net: dsa: Consistently use dsa_port for dsa_*_port_{apply, unapply}

We have all the information we need in dsa_port, so use it instead of
repeating the same arguments over and over again.

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