wifi: ath10k: Remove unnecessary (void*) conversions
authorWu Yunchuan <yunchuan@nfschina.com>
Tue, 19 Sep 2023 04:50:56 +0000 (12:50 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 21 Sep 2023 08:08:23 +0000 (11:08 +0300)
commit16e972d5767a3c1cd7b1da46565f786d84c90e45
treea7f34b196ababed9713a3c42d77361962d7551e4
parent779163fa1a3716826752e1d4beac7b180dd2d986
wifi: ath10k: Remove unnecessary (void*) conversions

No need cast (void*) to (struct htt_rx_ring_setup_ring32 *),
(struct htt_rx_ring_setup_ring64 *). Change the prototype to
remove the local variable.

Signed-off-by: Wu Yunchuan <yunchuan@nfschina.com>
Suggested-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230919045056.523958-1-yunchuan@nfschina.com
drivers/net/wireless/ath/ath10k/htt_tx.c