summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rsi
diff options
context:
space:
mode:
authorWu Yunchuan <yunchuan@nfschina.com>2023-08-03 15:34:55 +0800
committerKalle Valo <kvalo@kernel.org>2023-08-23 14:07:14 +0300
commit148924e537df01598870c7c55092e61859df292c (patch)
tree7ef42f9b4afa013b62999e4a209cc1aed7914c52 /drivers/net/wireless/rsi
parent5f48e91624b35fc85d087978feaea70a8c35be56 (diff)
downloadlinux-148924e537df01598870c7c55092e61859df292c.tar.gz
linux-148924e537df01598870c7c55092e61859df292c.tar.bz2
linux-148924e537df01598870c7c55092e61859df292c.zip
wifi: rsi: rsi_91x_debugfs: Remove unnecessary (void*) conversions
No need cast (void*) to (struct rsi_91x_sdiodev *). Signed-off-by: Wu Yunchuan <yunchuan@nfschina.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230803073455.3666306-1-yunchuan@nfschina.com
Diffstat (limited to 'drivers/net/wireless/rsi')
-rw-r--r--drivers/net/wireless/rsi/rsi_91x_debugfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_debugfs.c b/drivers/net/wireless/rsi/rsi_91x_debugfs.c
index bf22fd948276..c528e6ca2c8d 100644
--- a/drivers/net/wireless/rsi/rsi_91x_debugfs.c
+++ b/drivers/net/wireless/rsi/rsi_91x_debugfs.c
@@ -28,8 +28,7 @@ static int rsi_sdio_stats_read(struct seq_file *seq, void *data)
{
struct rsi_common *common = seq->private;
struct rsi_hw *adapter = common->priv;
- struct rsi_91x_sdiodev *dev =
- (struct rsi_91x_sdiodev *)adapter->rsi_dev;
+ struct rsi_91x_sdiodev *dev = adapter->rsi_dev;
seq_printf(seq, "total_sdio_interrupts: %d\n",
dev->rx_info.sdio_int_counter);