[PATCH 4/4] scsi: snic: Remove unnecessary (void*) conversions
From: Li Qiong
Date: Thu Apr 13 2023 - 07:16:13 EST
No need to cast (void*) pointer to other type.
Signed-off-by: Li Qiong <liqiong@xxxxxxxxxxxx>
---
drivers/scsi/snic/snic_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.11.0