diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-07-27 19:07:57 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-31 16:05:41 -0700 |
commit | f523c7d7a66d97d0584182eb3ff4b2425219f9d8 (patch) | |
tree | 3831d394c9c5506ff4d7271fcf835ab2856d7600 /drivers/mfd/mcp-core.c | |
parent | 26589720620e8fe429681f599fdc145c8f57a8c6 (diff) | |
download | blackbird-op-linux-f523c7d7a66d97d0584182eb3ff4b2425219f9d8.tar.gz blackbird-op-linux-f523c7d7a66d97d0584182eb3ff4b2425219f9d8.zip |
Staging : rtl8188eu : os_dep : Compression of lines for immediate return
This patch compresses two lines into a single line if immediate return is
found. Also remove variable ret as it is no longer needed.
Semantic patch used for this is as follows:
@@
type T;
identifier i,f;
constant C;
@@
- T i;
...when != i
when strict
(
return -C;
|
- i =
+ return
f(...);
- return i;
)
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/mcp-core.c')
0 files changed, 0 insertions, 0 deletions