Ver código fonte

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 anos atrás
pai
commit
fe79f6314a
1 arquivos alterados com 0 adições e 1 exclusões
  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;
 			}