diff options
| author | Sean Paul <[email protected]> | 2018-09-20 10:58:17 -0400 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2018-12-11 12:51:29 -0500 |
| commit | 0841851f3b22bc1da09683aa458efe9f9e2abf51 (patch) | |
| tree | 8a2b0fa8c53b157e0aa65f267f12e2a3f420754c /tools/perf/scripts/python | |
| parent | 58fba464eaeff6533236d334cf2a2df24241dc76 (diff) | |
drm/msm: dpu: Remove empty/useless labels
I noticed an empty label while driving by and decided to use
coccinelle to see if there were any more. Here's the spatch and the
invocation:
---
@@
identifier lbl;
expression E;
@@
- goto lbl;
+ return E;
...
- lbl:
return E;
@@
identifier lbl;
@@
- goto lbl;
+ return;
...
- lbl:
- return;
---
spatch --allow-inconsistent-paths --sp-file file.spatch --dir
drivers/gpu/drm/msm/disp/dpu1 --in-place
---
Reviewed-by: Jeykumar Sankaran <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions