Преглед изворни кода

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 година
родитељ
комит
fe79f6314a
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      drivers/net/wireless/ath/ath10k/wmi.c

+ 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",
 					    ret);
 				dev_kfree_skb_any(bcn);
-				ret = -EIO;
 				goto skip;
 			}