diff options
| author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2014-09-23 19:21:32 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 08:18:59 -0700 |
| commit | 2d02b0b81c0474212310c5a72cf088736c9aab41 (patch) | |
| tree | 5d1bd2ccf0dd68fdff7b13f140762d76d1c706e9 /tools/perf/scripts/python | |
| parent | 5ce91a9e854aba900a5bcddcd1c2297d7ff5cd40 (diff) | |
Staging: lustre: Unnecessory else and braces are removed
This patch fixes following checkpatch.pl warning using coccinelle:
WARNING: else is not generally useful after a break or return
Semantic patch used for this is as follows:
@rule1@
expression e1;
@@
if (e1) { ... return ...; }
- else{
...
- }
@rule2@
expression e2;
statement s1;
@@
if(e2) { ... return ...; }
- else
s1
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
