summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/mcp-core.c
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-07-27 19:07:57 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-31 16:05:41 -0700
commitf523c7d7a66d97d0584182eb3ff4b2425219f9d8 (patch)
tree3831d394c9c5506ff4d7271fcf835ab2856d7600 /drivers/mfd/mcp-core.c
parent26589720620e8fe429681f599fdc145c8f57a8c6 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud