Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Wu Yunchuan and committed by
Kalle Valo
db2be1a0 6d5d2dbd

+2 -2
+2 -2
drivers/net/wireless/rsi/rsi_91x_main.c
··· 270 270 #ifdef CONFIG_RSI_COEX 271 271 enum rsi_host_intf rsi_get_host_intf(void *priv) 272 272 { 273 - struct rsi_common *common = (struct rsi_common *)priv; 273 + struct rsi_common *common = priv; 274 274 275 275 return common->priv->rsi_host_intf; 276 276 } 277 277 278 278 void rsi_set_bt_context(void *priv, void *bt_context) 279 279 { 280 - struct rsi_common *common = (struct rsi_common *)priv; 280 + struct rsi_common *common = priv; 281 281 282 282 common->bt_adapter = bt_context; 283 283 }