commit | 0c9e21d397908201f28c5352cf05942d9954b736 | [log] [tgz] |
---|---|---|
author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | Thu Feb 25 01:57:54 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 25 22:29:41 2016 -0800 |
tree | 3841deb3d2dbd3c94f5f7405dbe164ecbe680848 | |
parent | 4b1e380bdb8224bfb42585d843700fee87377fea [diff] |
staging: wilc1000: 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>