diff options
| author | 2015-03-12 04:22:38 +0200 | |
|---|---|---|
| committer | 2015-03-16 16:00:20 +0100 | |
| commit | e623d0f3f92960a826ae30dc861165f21752cdc8 (patch) | |
| tree | 650a9159928fb5b92882ade6bf32b85fc9d5d0eb /scripts | |
| parent | Staging: rtl8192e: Eliminate use of MSECS macro (diff) | |
Staging: rtl8192e: Remove unnecessary variables
This patch removes unnecessary intermediary variables in return lines
and uses actual values.
Found by coccinelle using this semantic patch:
@@ type T; expression expr; identifier r; @@
-T r = expr;
... when != r
when strict
-return r;
+return expr;
Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
