diff options
| author | Wu Fengguang <[email protected]> | 2015-07-24 14:16:10 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-07-27 00:59:16 -0700 |
| commit | 9267135cca60674321139626f49077a4937d730e (patch) | |
| tree | 5f9859756488a36861acaa5fbaa99840f0fc6e64 /tools/perf/scripts/python | |
| parent | b469139e81ca8265fb4797c007f8d3338f4191a5 (diff) | |
net: phy: dp83867: fix simple_return.cocci warnings
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 <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions