diff options
author | 2020-03-26 02:24:18 +0530 | |
---|---|---|
committer | 2020-03-26 08:37:38 +0100 | |
commit | f465b0a4e502756724009fc1a35fb3319ce38d25 (patch) | |
tree | 02276d36c2b190401f54820206c417414ed17dc0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | staging: wilc1000: remove label from examples in DT binding documentation (diff) | |
download | linux-dev-f465b0a4e502756724009fc1a35fb3319ce38d25.tar.xz linux-dev-f465b0a4e502756724009fc1a35fb3319ce38d25.zip |
staging: rtl8723bs: rtw_efuse: Compress lines for immediate return
Compress two lines into a single line if immediate return statement is found.
It is done using script Coccinelle. And coccinelle uses following semantic
patch for this compression function:
@@
expression ret;
identifier f;
@@
-ret =
+return
f(...);
-return ret;
Signed-off-by: Simran Singhal <singhalsimran0@gmail.com>
Link: https://lore.kernel.org/r/20200325205418.GA29149@simran-Inspiron-5558
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions