diff mbox series

[4/4] scsi: snic: Remove unnecessary (void*) conversions

Message ID 20230413111511.15579-1-liqiong@nfschina.com
State New
Headers show
Series [1/4] scsi: qla2xxx: Remove unnecessary (void*) conversions | expand

Commit Message

Li Qiong April 13, 2023, 11:15 a.m. UTC
No need to cast (void*) pointer to other type.

Signed-off-by: Li Qiong <liqiong@nfschina.com>
---
 drivers/scsi/snic/snic_debugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/scsi/snic/snic_debugfs.c b/drivers/scsi/snic/snic_debugfs.c
index 9dd975b36b5b..06de583caed1 100644
--- a/drivers/scsi/snic/snic_debugfs.c
+++ b/drivers/scsi/snic/snic_debugfs.c
@@ -164,7 +164,7 @@  snic_reset_stats_release(struct inode *inode, struct file *filp)
 static int
 snic_stats_show(struct seq_file *sfp, void *data)
 {
-	struct snic *snic = (struct snic *) sfp->private;
+	struct snic *snic = sfp->private;
 	struct snic_stats *stats = &snic->s_stats;
 	struct timespec64 last_isr_tms, last_ack_tms;
 	u64 maxio_tm;