diff options
| author | 2014-05-19 06:31:12 +0200 | |
|---|---|---|
| committer | 2014-05-24 02:14:30 +0900 | |
| commit | 26e2fa765cd7325906ef8bbee366c74e24b3d768 (patch) | |
| tree | af2afe0e7a566cb79fc1d4ffd2295e7e52800062 /include/linux/stringify.h | |
| parent | staging: dgnc: dgnc_tty: Remove a prohibited space (diff) | |
staging: rtl8192e: make return of 0 explicit
Delete unnecessary use of a local variable to immediately return 0.
A simplified version of the semantic patch that fixes this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@r exists@
local idexpression ret;
expression e;
position p;
@@
-ret = 0;
... when != ret = e
return
- ret
+ 0
;
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
