summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k/hal_tx.c
diff options
context:
space:
mode:
authorWu Yunchuan <yunchuan@nfschina.com>2023-09-21 11:50:05 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2023-09-28 18:09:11 +0300
commit87fd0602610d6965c45afc61780ac98842e8f902 (patch)
treed66b457401d66c4a410e8dcf636504f38c7b8fee /drivers/net/wireless/ath/ath11k/hal_tx.c
parenta1e09eb35476d66d7641c226f7d531cdac844761 (diff)
downloadlinux-87fd0602610d6965c45afc61780ac98842e8f902.tar.xz
wifi: ath11k: remove unnecessary (void*) conversions
No need cast (void *) to (struct ath11k_base *), struct hal_rx_msdu_link *), (struct ath11k_buffer_addr *) or other types. Signed-off-by: Wu Yunchuan <yunchuan@nfschina.com> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20230919045150.524304-1-yunchuan@nfschina.com
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/hal_tx.c')
-rw-r--r--drivers/net/wireless/ath/ath11k/hal_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath11k/hal_tx.c b/drivers/net/wireless/ath/ath11k/hal_tx.c
index d1b0e36e04a9..b919df6ce743 100644
--- a/drivers/net/wireless/ath/ath11k/hal_tx.c
+++ b/drivers/net/wireless/ath/ath11k/hal_tx.c
@@ -37,7 +37,7 @@ static const u8 dscp_tid_map[DSCP_TID_MAP_TBL_ENTRY_SIZE] = {
void ath11k_hal_tx_cmd_desc_setup(struct ath11k_base *ab, void *cmd,
struct hal_tx_info *ti)
{
- struct hal_tcl_data_cmd *tcl_cmd = (struct hal_tcl_data_cmd *)cmd;
+ struct hal_tcl_data_cmd *tcl_cmd = cmd;
tcl_cmd->buf_addr_info.info0 =
FIELD_PREP(BUFFER_ADDR_INFO0_ADDR, ti->paddr);