diff options
author | Wu Yunchuan <yunchuan@nfschina.com> | 2023-11-22 19:31:03 +0100 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-11-29 12:28:05 +0100 |
commit | d6e71dd1e49e740d4bb0725cd802dab9008cd394 (patch) | |
tree | 1a3e550498280dae53a75dbfc6b9b00c075c40f8 /drivers/net/wireless/ath/ath9k/htc_drv_debug.c | |
parent | wifi: ath12k: refactor DP Rxdma ring structure (diff) | |
download | linux-d6e71dd1e49e740d4bb0725cd802dab9008cd394.tar.xz linux-d6e71dd1e49e740d4bb0725cd802dab9008cd394.zip |
wifi: ath9k: Remove unnecessary (void*) conversions
No need cast (void *) to (struct owl_ctx *), (struct ath_hw *),
(struct cmd_buf *) or other types.
Signed-off-by: Wu Yunchuan <yunchuan@nfschina.com>
Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230919045226.524544-1-yunchuan@nfschina.com
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_debug.c b/drivers/net/wireless/ath/ath9k/htc_drv_debug.c index 278ddc713fdc..f7c6d9bc9311 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_debug.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_debug.c @@ -482,7 +482,7 @@ void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv) int ath9k_htc_init_debug(struct ath_hw *ah) { struct ath_common *common = ath9k_hw_common(ah); - struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; + struct ath9k_htc_priv *priv = common->priv; priv->debug.debugfs_phy = debugfs_create_dir(KBUILD_MODNAME, priv->hw->wiphy->debugfsdir); |