staging: ks7010: ks_wlan_net: Remove unnecessary variable used to store return value
authorGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Fri, 23 Sep 2016 19:45:25 +0000 (22:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Sep 2016 10:37:14 +0000 (12:37 +0200)
commit55adb7bf5a3e466b471eae8db8334f1196c3a2f8
treec43c75a67d40efd67d0e6b943bdb7014b9244341
parente4e8d968a319a311908b2dd8f241442b5c529b5f
staging: ks7010: ks_wlan_net: Remove unnecessary variable used to store return value

Remove unneeded code in order to make clear
that the function returns 0(success) in all cases.

Done using returnvar.cocci script.

Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c