diff options
| author | Wu Yunchuan <[email protected]> | 2023-11-22 20:31:03 +0200 | 
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2023-11-29 13:28:05 +0200 | 
| commit | d6e71dd1e49e740d4bb0725cd802dab9008cd394 (patch) | |
| tree | 1a3e550498280dae53a75dbfc6b9b00c075c40f8 /drivers/net/wireless/ath/ath9k/debug.c | |
| parent | 9f1eebf0454dc97512cdd74b9be38330734a0f86 (diff) | |
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 <[email protected]>
Reviewed-by: Jeff Johnson <[email protected]>
Acked-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
| -rw-r--r-- | drivers/net/wireless/ath/ath9k/debug.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c index a0376a6787b8..d84e3ee7b5d9 100644 --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c @@ -1376,7 +1376,7 @@ void ath9k_deinit_debug(struct ath_softc *sc)  int ath9k_init_debug(struct ath_hw *ah)  {  	struct ath_common *common = ath9k_hw_common(ah); -	struct ath_softc *sc = (struct ath_softc *) common->priv; +	struct ath_softc *sc = common->priv;  	sc->debug.debugfs_phy = debugfs_create_dir("ath9k",  						   sc->hw->wiphy->debugfsdir); |