ath10k: remove unnecessary error code assignment
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Thu, 1 Sep 2016 16:13:36 +0000 (21:43 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 9 Sep 2016 12:09:54 +0000 (15:09 +0300)
The error assigned does not seems to be used anywhere,
fixes nothing just a small cleanup

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c

index eb4ab6f..38993d7 100644 (file)
@@ -3563,7 +3563,6 @@ void ath10k_wmi_event_host_swba(struct ath10k *ar, struct sk_buff *skb)
                                ath10k_warn(ar, "failed to map beacon: %d\n",
                                            ret);
                                dev_kfree_skb_any(bcn);
-                               ret = -EIO;
                                goto skip;
                        }