Staging: rtl8723au: os_dep: Removed variable that is always 0.
authorHeena Sirwani <heenasirwani@gmail.com>
Tue, 7 Oct 2014 09:15:56 +0000 (14:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:11 +0000 (10:29 +0800)
commit911f2921c41cece94689bc0bb4dc9f7723d40839
treef0ec4a0535cc279c9631f6e1fa1e9b5c5128b96a
parent15c389c14ce638ae3e93c26182218fb7ad6b0b4d
Staging: rtl8723au: os_dep: Removed variable that is always 0.

The following patch removes a variable that is always 0 using
coccinelle.
The semaintic patch used is as follows:

@@
identifier ret;
@@

-int ret = 0;
 ... when != ret
     when strict
-return ret;
+return 0;

Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c