diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2016-02-21 07:29:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-26 06:34:19 (GMT) |
commit | 87f35f02a9193b83657d60695bf981d1a2255fda (patch) | |
tree | aee97506c6bbeac5f9fcf5844a940c9c4fd5db87 /block/blk.h | |
parent | 91dd941996e4a626f9467a33e3573bd7c119e914 (diff) | |
download | linux-87f35f02a9193b83657d60695bf981d1a2255fda.tar.xz |
staging: most: compress return logic into one line
Eliminate local variable 'ret' and modify return statement to contain
the value being returned directly instead of assigning it first to 'ret'
and returning this variable.
Coccinelle semantic patch used:
@@ expression e, ret; @@
-ret =
+return
e;
-return ret;
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions