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