diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-06-02 21:31:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-05 02:05:15 +0200 |
commit | e41c1b5030e279c6626d3d052c3ca5ce5e2508df (patch) | |
tree | 69abe1f7afc3648bbaf9a04cfa2c3226f7db2cde /include | |
parent | net: dsa: Pass dsa_port reference to ethtool setup/restore (diff) | |
download | linux-e41c1b5030e279c6626d3d052c3ca5ce5e2508df.tar.xz linux-e41c1b5030e279c6626d3d052c3ca5ce5e2508df.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions