diff options
| author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-08-05 16:20:17 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-08-07 14:22:42 -0700 |
| commit | 206e41fe7f441542e8b92b314cfcdab21c709233 (patch) | |
| tree | efc0d87cef0b0d04d72fb7f848019e8001642d6f /net/dsa/dsa.c | |
| parent | net: hns3: fix spelling mistake: "capabilty" -> "capability" (diff) | |
| download | linux-206e41fe7f441542e8b92b314cfcdab21c709233.tar.gz linux-206e41fe7f441542e8b92b314cfcdab21c709233.zip | |
net: dsa: remove useless argument in legacy setup
dsa_switch_alloc() already assigns ds-dev, which can be used in
dsa_switch_setup_one and dsa_cpu_dsa_setups instead of requiring an
additional struct device argument.
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>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions
