Staging: rtl8723bs: Merge assignment with return
authorShreeya Patel <shreeya.patel23498@gmail.com>
Sun, 10 Dec 2017 22:03:00 +0000 (03:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2017 11:48:46 +0000 (12:48 +0100)
commit5826e028de7f2db8d8deebf2102cd79086729200
tree3f4ca6f25c49623a9150d8fa91179853f6cfad4f
parent705f385849b209605dadf0450effd96947fdb6c6
Staging: rtl8723bs: Merge assignment with return

Merge the assignment and return statements to return the value
directly. Done using the following semantic patch by coccinelle.

@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Also, remove the variable declaration and some braces
that became useless after the merge.

Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/sdio_ops.c