浏览代码

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;
 			}