Commit db2be1a0 authored by Wu Yunchuan's avatar Wu Yunchuan Committed by Kalle Valo

wifi: rsi: rsi_91x_main: Remove unnecessary (void*) conversions

No need cast (void*) to (struct rsi_common *).
Signed-off-by: default avatarWu Yunchuan <yunchuan@nfschina.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230803073529.3666653-1-yunchuan@nfschina.com
parent 6d5d2dbd
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment