Эх сурвалжийг харах

ath10k: remove unnecessary error code assignment

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>
Mohammed Shafi Shajakhan 9 жил өмнө
parent
commit
fe79f6314a

+ 0 - 1
drivers/net/wireless/ath/ath10k/wmi.c

@@ -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",
 				ath10k_warn(ar, "failed to map beacon: %d\n",
 					    ret);
 					    ret);
 				dev_kfree_skb_any(bcn);
 				dev_kfree_skb_any(bcn);
-				ret = -EIO;
 				goto skip;
 				goto skip;
 			}
 			}