diff options
author | Wu Yunchuan <yunchuan@nfschina.com> | 2023-08-03 09:35:29 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-08-23 13:07:15 +0200 |
commit | db2be1a01fc540ba12135b8ae9ec1acc0634dfa8 (patch) | |
tree | 080424a7d24565d79cca9668b91b6377f6defea5 /drivers/net/wireless/rsi | |
parent | wifi: rsi: rsi_91x_mac80211: Remove unnecessary conversions (diff) | |
download | linux-db2be1a01fc540ba12135b8ae9ec1acc0634dfa8.tar.xz linux-db2be1a01fc540ba12135b8ae9ec1acc0634dfa8.zip |
wifi: rsi: rsi_91x_main: Remove unnecessary (void*) conversions
No need cast (void*) to (struct rsi_common *).
Signed-off-by: Wu Yunchuan <yunchuan@nfschina.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230803073529.3666653-1-yunchuan@nfschina.com
Diffstat (limited to 'drivers/net/wireless/rsi')
-rw-r--r-- | drivers/net/wireless/rsi/rsi_91x_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_main.c b/drivers/net/wireless/rsi/rsi_91x_main.c index f9f004446b07..2112d8d277a9 100644 --- a/drivers/net/wireless/rsi/rsi_91x_main.c +++ b/drivers/net/wireless/rsi/rsi_91x_main.c @@ -270,14 +270,14 @@ static void rsi_tx_scheduler_thread(struct rsi_common *common) #ifdef CONFIG_RSI_COEX enum rsi_host_intf rsi_get_host_intf(void *priv) { - struct rsi_common *common = (struct rsi_common *)priv; + struct rsi_common *common = priv; return common->priv->rsi_host_intf; } void rsi_set_bt_context(void *priv, void *bt_context) { - struct rsi_common *common = (struct rsi_common *)priv; + struct rsi_common *common = priv; common->bt_adapter = bt_context; } |