Files
linux-stable-mirror/drivers/net
Russell King (Oracle) fd4056db7a net: pcs: xpcs: remove return statements in void function
While using "return" when calling a void returning function inside a
function that returns void doesn't cause a compiler warning, it looks
weird. Convert the bunch of if() statements to a switch() and remove
these return statements.

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