Staging: rtl8192e: Remove unnecessary variables
authorCristina Opriceana <cristina.opriceana@gmail.com>
Thu, 12 Mar 2015 02:22:38 +0000 (04:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 15:00:20 +0000 (16:00 +0100)
commite623d0f3f92960a826ae30dc861165f21752cdc8
tree650a9159928fb5b92882ade6bf32b85fc9d5d0eb
parent8b9733c1ad884548ba6417fee239e54693719f41
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>
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl819x_HTProc.c