wifi: ath12k: Remove unnecessary (void*) conversions
authorWu Yunchuan <yunchuan@nfschina.com>
Tue, 19 Sep 2023 04:51:42 +0000 (12:51 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 21 Sep 2023 08:08:23 +0000 (11:08 +0300)
commite5e8b38f0c05a3d0edba76bdee00e753067f4281
tree59df32924e64ded3126584586dd67fe8474f2fa6
parent16e972d5767a3c1cd7b1da46565f786d84c90e45
wifi: ath12k: Remove unnecessary (void*) conversions

No need cast (void*) to (struct hal_rx_ppdu_end_user_stats *),
(struct ath12k_rx_desc_info *) or (struct hal_tx_msdu_ext_desc *).
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/20230919045142.524226-1-yunchuan@nfschina.com
drivers/net/wireless/ath/ath12k/dp_mon.c
drivers/net/wireless/ath/ath12k/dp_rx.c
drivers/net/wireless/ath/ath12k/dp_tx.c