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
This commit is contained in:
parent
5f48e91624
commit
148924e537
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue