[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230803073455.3666306-1-yunchuan@nfschina.com>
Date: Thu, 3 Aug 2023 15:34:55 +0800
From: Wu Yunchuan <yunchuan@...china.com>
To: kvalo@...nel.org
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org,
Wu Yunchuan <yunchuan@...china.com>
Subject: [PATCH net-next v2 2/9] wifi: rsi: rsi_91x_debugfs: Remove unnecessary (void*) conversions
No need cast (void*) to (struct rsi_91x_sdiodev *).
Signed-off-by: Wu Yunchuan <yunchuan@...china.com>
---
drivers/net/wireless/rsi/rsi_91x_debugfs.c | 3 +--
1 file changed, 1 insertion(+), 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);
--
2.30.2
Powered by blists - more mailing lists