OSDN Git Service

Merge branch 'net-dsa-remove-useless-arguments'
authorDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:24:21 +0000 (14:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:24:21 +0000 (14:24 -0700)
commitd899cb2e5fe15d3cddc5ae2af9cd579c3280bb4b
tree7ab24187543b7466dac94f70661dcda50753d74f
parente00e21979dc8a821840f23a8f1d62bd823755192
parent4cfbf09cf97f265c82f48ca2bd7ea704b6a21a90
Merge branch 'net-dsa-remove-useless-arguments'

Vivien Didelot says:

====================
net: dsa: remove useless arguments

Several DSA core setup functions take many arguments, mostly because of
the legacy code. This patch series removes the useless args of these
functions, where either the dsa_switch or dsa_port argument is enough.

Changes in v2:
  - ds->dev is already assigned by dsa_switch_alloc
====================

Signed-off-by: David S. Miller <davem@davemloft.net>