summaryrefslogtreecommitdiff
path: root/include/linux/securebits.h
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-07-27 23:30:52 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-31 16:14:53 -0700
commit6ba4df24bb87246472be90b11fcecb720c2a15ba (patch)
tree3082b2ed8aa258743af28da232713123eb2f3ffa /include/linux/securebits.h
parentbd1ccd33150261f0e58be6de615e4b14389ac208 (diff)
Staging:dgap :Compression of lines for immediate return
This patch compresses two lines into a single line if immediate return statement is found. Remove variable rc as it is no longer needed. It is done using script Coccinelle. And coccinelle uses the following semantic patch for this compression function: @@ 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 'include/linux/securebits.h')
0 files changed, 0 insertions, 0 deletions