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

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

No need cast (void*) to (struct rsi_91x_usbdev *).

Signed-off-by: Wu Yunchuan <yunchuan@nfschina.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230803073606.3667062-1-yunchuan@nfschina.com

authored by

Wu Yunchuan and committed by
Kalle Valo
7d8473c7 f543235c

+1 -1
+1 -1
drivers/net/wireless/rsi/rsi_91x_usb_ops.c
··· 28 28 void rsi_usb_rx_thread(struct rsi_common *common) 29 29 { 30 30 struct rsi_hw *adapter = common->priv; 31 - struct rsi_91x_usbdev *dev = (struct rsi_91x_usbdev *)adapter->rsi_dev; 31 + struct rsi_91x_usbdev *dev = adapter->rsi_dev; 32 32 int status; 33 33 struct sk_buff *skb; 34 34