diff mbox series

[12/15] ath11k: debug_htt_stats: remove unnecessary cast

Message ID 156534286219.30736.2875472095603667558.stgit@x230 (mailing list archive)
State Accepted
Commit 9566b90559c6efcab5ae10b5fadb083490244abb
Delegated to: Kalle Valo
Headers show
Series [01/15] ath11k: rename per_transfer_context to skb | expand

Commit Message

Kalle Valo Aug. 9, 2019, 9:27 a.m. UTC
No need to do any casting for void pointers.

No functional changes, compile tested only.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/debug_htt_stats.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/debug_htt_stats.c b/drivers/net/wireless/ath/ath11k/debug_htt_stats.c
index a01f3d5ec54e..8265b255b27f 100644
--- a/drivers/net/wireless/ath/ath11k/debug_htt_stats.c
+++ b/drivers/net/wireless/ath/ath11k/debug_htt_stats.c
@@ -4060,7 +4060,7 @@  void ath11k_dbg_htt_ext_stats_handler(struct ath11k_base *ab,
 	len = FIELD_GET(HTT_T2H_EXT_STATS_INFO1_LENGTH, msg->info1);
 	ret = ath11k_dp_htt_tlv_iter(ab, msg->data, len,
 				     ath11k_dbg_htt_ext_stats_parse,
-				     (void *)stats_req);
+				     stats_req);
 	if (ret)
 		ath11k_warn(ab, "Failed to parse tlv %d\n", ret);