diff options
| author | 2017-09-19 11:56:58 -0400 | |
|---|---|---|
| committer | 2017-09-19 16:04:23 -0700 | |
| commit | cd8d7dd41bfddaa02e34db35abfab14ce4584dee (patch) | |
| tree | b530ea3ce0d3761bbcb49700c12289373eaa2ed2 /net/dsa/legacy.c | |
| parent | net: dsa: remove copy of master ethtool_ops (diff) | |
| download | linux-dev-cd8d7dd41bfddaa02e34db35abfab14ce4584dee.tar.xz linux-dev-cd8d7dd41bfddaa02e34db35abfab14ce4584dee.zip | |
net: dsa: setup master ethtool unconditionally
When a DSA switch tree is meant to be applied, it already has a CPU
port. Thus remove the condition of dst->cpu_dp.
Moreover, the next lines access dst->cpu_dp unconditionally.
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/legacy.c')
0 files changed, 0 insertions, 0 deletions
