Tag: 9267135cca60674321139626f49077a4937d730e

net: phy: dp83867: fix simple_return.cocci warnings

Author: Wu Fengguang <fengguang.wu@intel.com> drivers/net/phy/dp83867.c:126:1-4: WARNING: end returns can be simpified drivers/net/phy/dp83867.c:74:5-8: WARNING: end returns can be simpified if tested value is negative or 0 Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Dan Murphy Signed-off-by: Fengguang Wu Signed-off-by: David S. Miller — drivers/net/phy/dp83867.c | 6 +—– …

Continue reading