Files
linux/drivers/net
Russell King (Oracle) 8d2aeab4ce 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>
2024-10-23 16:10:16 +02:00
..
2024-10-22 17:44:51 -05:00
2024-10-06 16:24:06 +01:00
2024-09-27 08:18:43 -07:00
2024-10-04 12:42:32 +01:00