commit | 235a01036200992e8719c1f41260b11930448b72 | [log] [tgz] |
---|---|---|
author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | Fri Feb 26 15:11:07 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 11 22:09:09 2016 -0800 |
tree | 139d56c84b1c40b8ba5a30b48b7f37806e0bde32 | |
parent | 92098c1f0b6ab8eac2ccb465435c2fbeae6f6f6e [diff] |
staging: rtl8188eu: core: 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>