From: Dan Carpenter Date: Fri, 13 Dec 2019 10:47:54 +0000 (+0300) Subject: ath11k: delete a stray unlock in ath11k_dbg_htt_stats_req() X-Git-Tag: Ubuntu-5.13.0-19.19~6812^2~214^2^2~15 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=cd21c827a1555276325880ea431a6a27a9186e30;p=mirror_ubuntu-jammy-kernel.git ath11k: delete a stray unlock in ath11k_dbg_htt_stats_req() The callers unlock this lock so this error path has a double unlock. Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") Signed-off-by: Dan Carpenter Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath11k/debug_htt_stats.c b/drivers/net/wireless/ath/ath11k/debug_htt_stats.c index a824826f562c..090fffa5e53c 100644 --- a/drivers/net/wireless/ath/ath11k/debug_htt_stats.c +++ b/drivers/net/wireless/ath/ath11k/debug_htt_stats.c @@ -4287,7 +4287,6 @@ int ath11k_dbg_htt_stats_req(struct ath11k *ar) ret = ath11k_dp_tx_htt_h2t_ext_stats_req(ar, type, &cfg_params, cookie); if (ret) { ath11k_warn(ar->ab, "failed to send htt stats request: %d\n", ret); - mutex_unlock(&ar->conf_mutex); return ret; }