rtlwifi: rtl8192de: Remove a pointless goto
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 10 Jan 2017 16:15:26 +0000 (10:15 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Jan 2017 12:13:12 +0000 (14:13 +0200)
In commit c93ac39da0064 ("rtlwifi: Remove some redundant code), a goto
statement was inadvertently left in the code.

Fixes: c93ac39da0064 ("rtlwifi: Remove some redundant code)
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c

index aa1e51c871dfe41f2feffba62a97267df3ec6a9a..569d572e0618ff9fb240f6d463da223f3c9cd75f 100644 (file)
@@ -323,7 +323,6 @@ int rtl92d_download_fw(struct ieee80211_hw *hw)
        spin_unlock_irqrestore(&globalmutex_for_fwdownload, flags);
        if (err)
                pr_err("fw is not ready to run!\n");
-               goto exit;
 exit:
        err = _rtl92d_fw_init(hw);
        return err;