Staging: rtl8188eu: Remove redundant local variable
authorSomya Anand <somyaanand214@gmail.com>
Wed, 4 Mar 2015 08:40:44 +0000 (14:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 23:30:07 +0000 (15:30 -0800)
commitaea42ee42196ee164b46eda047953c0974536d5b
tree79412b3f0986df52a1f2c9bf4467165b23387ee8
parent22905b8594d58a6fceeb4510a57e34571a075b45
Staging: rtl8188eu: Remove redundant local variable

This patch removes a redundant variable "raid" and adds inline
return statements.

This issue is identified by the following coccinelle script:
@@
expression ret;
identifier f;
@@

-ret =
+return
     f(...);
-return ret;

Signed-off-by: Somya Anand <somyaanand214@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_wlan_util.c