diff options
| author | Russell King (Oracle) <[email protected]> | 2024-10-17 11:52:44 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-10-23 14:10:16 +0000 |
| commit | 8d2aeab4ce782df9d7cd035938f4545af7db260e (patch) | |
| tree | 0b0b297a8b8ef03e8e7c483dfde80342b22eaf9b /tools/net/ynl/cli.py | |
| parent | net: pcs: xpcs: use generic register definitions (diff) | |
| download | kernel-8d2aeab4ce782df9d7cd035938f4545af7db260e.tar.gz kernel-8d2aeab4ce782df9d7cd035938f4545af7db260e.zip | |
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) <[email protected]>
Tested-by: Serge Semin <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions
