summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-07-20 12:15:26 +0100
committerDavid S. Miller <davem@davemloft.net>2021-07-21 07:52:15 -0700
commit7cefb0b0e91191185ddd26912cc52d589218fa47 (patch)
tree5073d4a1d0b5c6f2e2ed1ebba7a2b8cb43392ebf /net/switchdev/switchdev.c
parent3389d3027fec5ec8f687fb07fd8e6c1bd102b451 (diff)
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions