Staging: drivers: rtl8188eu: fixed unnecessary else branch
authorJacky Boen <aqiank@gmail.com>
Sun, 1 May 2016 15:50:34 +0000 (23:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 May 2016 21:34:50 +0000 (14:34 -0700)
Fixed coding style issue

Signed-off-by: Jacky Boen <aqiank@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/usb_halinit.c

index f63b95ed7131bc1b70cf037fc01266622e30fbd6..f6c50e6a8781dff013f49728cf3dd1cb49d4f526 100644 (file)
@@ -744,10 +744,9 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
                        DBG_88E("%s: Download Firmware failed!!\n", __func__);
                        Adapter->bFWReady = false;
                        return status;
-               } else {
-                       RT_TRACE(_module_hci_hal_init_c_, _drv_info_, ("Initializeadapt8192CSdio(): Download Firmware Success!!\n"));
-                       Adapter->bFWReady = true;
                }
+               RT_TRACE(_module_hci_hal_init_c_, _drv_info_, ("Initializeadapt8192CSdio(): Download Firmware Success!!\n"));
+               Adapter->bFWReady = true;
        }
        rtl8188e_InitializeFirmwareVars(Adapter);