diff options
| author | 2024-10-17 12:52:44 +0100 | |
|---|---|---|
| committer | 2024-10-23 16:10:16 +0200 | |
| commit | 8d2aeab4ce782df9d7cd035938f4545af7db260e (patch) | |
| tree | 0b0b297a8b8ef03e8e7c483dfde80342b22eaf9b /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | net: pcs: xpcs: use generic register definitions (diff) | |
net: pcs: xpcs: remove switch() in xpcs_link_up_1000basex()
Remove an unnecessary switch() statement in xpcs_link_up_1000basex().
The only value this switch statement is interested in is SPEED_1000,
all other values lead to an error. Replace this with a simple if()
statement.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
