summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/wmi.c
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>2016-09-01 18:13:36 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2016-09-09 14:09:54 +0200
commitfe79f6314a717cf031a6c04f180910583633c37e (patch)
treea3c5ced51709ff66bcf127826e127c005bd05a9d /drivers/net/wireless/ath/ath10k/wmi.c
parentath9k: improve powersave filter handling (diff)
downloadlinux-fe79f6314a717cf031a6c04f180910583633c37e.tar.xz
linux-fe79f6314a717cf031a6c04f180910583633c37e.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wmi.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/wmi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
index eb4ab6fa688f..38993d72f5e6 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;
}