diff options
author | Rehas Sachdeva <aquannie@gmail.com> | 2016-09-16 01:11:08 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-16 10:16:15 +0200 |
commit | 29b7d5817bd2795454739226f517fc2b47eb2b51 (patch) | |
tree | 6c07c367f32247208a64f88387ed61f277f9e4cb /lib/argv_split.c | |
parent | 3428e918e25611a08842b37b352ccb1960fbe012 (diff) | |
download | op-kernel-dev-29b7d5817bd2795454739226f517fc2b47eb2b51.zip op-kernel-dev-29b7d5817bd2795454739226f517fc2b47eb2b51.tar.gz |
staging: lustre: Remove unnecessary return capture
Instead of storing the return value of a function call into a variable and
then returning it, we can club the two into a single return statement. This
change was made using the following semantic patch by Coccinelle:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions