diff options
author | Cristina Opriceana <cristina.opriceana@gmail.com> | 2015-03-12 02:22:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-16 15:00:20 (GMT) |
commit | e623d0f3f92960a826ae30dc861165f21752cdc8 (patch) | |
tree | 650a9159928fb5b92882ade6bf32b85fc9d5d0eb /drivers/staging/rtl8192e/rtllib_softmac.c | |
parent | 8b9733c1ad884548ba6417fee239e54693719f41 (diff) | |
download | linux-e623d0f3f92960a826ae30dc861165f21752cdc8.tar.xz |
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 'drivers/staging/rtl8192e/rtllib_softmac.c')
0 files changed, 0 insertions, 0 deletions