From: Mohammed Shafi Shajakhan Date: Thu, 1 Sep 2016 16:13:36 +0000 (+0530) Subject: ath10k: remove unnecessary error code assignment X-Git-Tag: v5.15~12760^2~176^2~9^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe79f6314a717cf031a6c04f180910583633c37e;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index eb4ab6f..38993d7 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/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; }