staging: rtl8188eu: dont mix success and error path
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 21 Jul 2015 13:27:27 +0000 (18:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 03:59:55 +0000 (20:59 -0700)
commite0732f84b40bc7219d077ddd69b5cc03ec6e7838
tree6a01fb41374e4ea50b082da8717fbb2205c61765
parent705a31369845d7ad522dc9bce6ca430831ff0454
staging: rtl8188eu: dont mix success and error path

Success and error path was mixed. Separate them by directly returning 0
from the success path. In the process remove the variable which became
unused.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_intf.c