diff mbox series

ath11k: remove redundant num_keep_alive_pattern assignment

Message ID 1600361190-22047-1-git-send-email-kvalo@codeaurora.org (mailing list archive)
State Accepted
Commit 9883c0d075f1ba86248be90d82051f30f684deff
Delegated to: Kalle Valo
Headers show
Series ath11k: remove redundant num_keep_alive_pattern assignment | expand

Commit Message

Kalle Valo Sept. 17, 2020, 4:46 p.m. UTC
There were two asignments to num_keep_alive_pattern, remove the first one which is wrong.

No functional changes. Compile tested only.

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/hw.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Kalle Valo Sept. 22, 2020, 7:44 a.m. UTC | #1
Kalle Valo <kvalo@codeaurora.org> wrote:

> There were two asignments to num_keep_alive_pattern, remove the first one which is wrong.
> 
> No functional changes. Compile tested only.
> 
> Reported-by: Colin Ian King <colin.king@canonical.com>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

Patch applied to ath-next branch of ath.git, thanks.

9883c0d075f1 ath11k: remove redundant num_keep_alive_pattern assignment
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/hw.c b/drivers/net/wireless/ath/ath11k/hw.c
index 5f2eb2032118..4d7d2dc691d2 100644
--- a/drivers/net/wireless/ath/ath11k/hw.c
+++ b/drivers/net/wireless/ath/ath11k/hw.c
@@ -74,7 +74,6 @@  static void ath11k_init_wmi_config_qca6390(struct ath11k_base *ab,
 	config->beacon_tx_offload_max_vdev = 0x2;
 	config->num_multicast_filter_entries = 0x20;
 	config->num_wow_filters = 0x16;
-	config->num_keep_alive_pattern = 0x1;
 	config->num_keep_alive_pattern = 0;
 }