diff options
author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | 2016-02-25 12:04:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 03:44:34 (GMT) |
commit | 19cc827b6c7baa01e9f5f2b792e5b6b9550749d2 (patch) | |
tree | 72d6e99bf1578f62009f3d9bec514cee0aabdc79 /drivers/staging/lustre/lnet/selftest/framework.c | |
parent | b29f8096d8e0baccf9639eafd8132d13dfa4e464 (diff) | |
download | linux-19cc827b6c7baa01e9f5f2b792e5b6b9550749d2.tar.xz |
staging: rtl8723au: hal: Remove useless return variables
This patch removes unnecessary return variables and compresses the
return logic.
The coccinelle script that finds and fixes this issue is:
@@ type T; identifier i,f; constant C; @@
- T i;
...when != i
when strict
( return -C;
|
- i =
+ return
f(...);
- return i;
)
Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/framework.c')
0 files changed, 0 insertions, 0 deletions