diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-07-20 12:15:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-21 07:52:15 -0700 |
commit | 7cefb0b0e91191185ddd26912cc52d589218fa47 (patch) | |
tree | 5073d4a1d0b5c6f2e2ed1ebba7a2b8cb43392ebf /drivers/greybus | |
parent | 3389d3027fec5ec8f687fb07fd8e6c1bd102b451 (diff) | |
download | linux-stable-7cefb0b0e91191185ddd26912cc52d589218fa47.tar.gz linux-stable-7cefb0b0e91191185ddd26912cc52d589218fa47.tar.bz2 linux-stable-7cefb0b0e91191185ddd26912cc52d589218fa47.zip |
net: phylink: cleanup ksettings_set
We only need to fiddle about with the supported mask after we have
validated the user's requested parameters. Simplify and streamline the
code by moving the linkmode copy and update of the autoneg bit after
validating the user's request.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/greybus')
0 files changed, 0 insertions, 0 deletions