aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2014-05-19 06:31:09 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-24 01:54:55 +0900
commitaac22d07bc08befb0e3c7cbc2e91a8d8dce75cf2 (patch)
treeb15086569b013195eb230b06ee6d04301d404ae9 /scripts/objdiff
parentstaging : android: Fixes a coding style issue in timed_gpio.c (diff)
staging: wlags49_h2: make return of 0 explicit
Delete unnecessary local variable whose value is always 0 and that hides the fact that the result is always 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 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions