diff options
author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | 2016-02-25 12:56:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-26 07:41:48 +0100 |
commit | 2cda64cf6998a1d10961f69e2ac79c69b6d37795 (patch) | |
tree | ca86f56d035c920f60d8619859dbd4cf5c937cbe /drivers/android | |
parent | staging: unisys: visorbus: Remove unnecessary dev_set_drvdata() (diff) | |
download | linux-2cda64cf6998a1d10961f69e2ac79c69b6d37795.tar.xz linux-2cda64cf6998a1d10961f69e2ac79c69b6d37795.zip |
staging: unisys: visorbus: 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/android')
0 files changed, 0 insertions, 0 deletions