Skip to contentSkip to conversation

scsi:fnic: Self-assignment of intr_time_type has no effect

PATCH Applied [email protected] 3 participants 3 messages Oct 17, 2025 – Oct 22, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi:fnic: Self-assignment of intr_time_type has no effect

From: Qiang Liu <[email protected]>

Remove the self-assignment statement of the intr_time_type variable

---
 drivers/scsi/fnic/fnic_res.c | 1 -
 1 file changed, 1 deletion(-)
drivers/scsi/fnic/fnic_res.c +0 -1
index 763475587b7f..9801e5fbb0dd 100644
@@ -134,7 +134,6 @@ int fnic_get_vnic_config(struct fnic *fnic)
 			    c->luns_per_tgt));
 
 	c->intr_timer = min_t(u16, VNIC_INTR_TIMER_MAX, c->intr_timer);
-	c->intr_timer_type = c->intr_timer_type;
 
 	/* for older firmware, GET_CONFIG will not return anything */
 	if (c->wq_copy_count == 0)
Signature · 1 line
2.43.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 22 lines · On Friday, October 17, 2025 12:55 AM, [email protected]…

Remove the self-assignment statement of the intr_time_type variable

---
drivers/scsi/fnic/fnic_res.c | 1 -

1 file changed, 1 deletion(-)
drivers/scsi/fnic/fnic_res.c +0 -2
index 763475587b7f..9801e5fbb0dd 100644
@@ -134,7 +134,6 @@ int fnic_get_vnic_config(struct fnic *fnic)
 c->luns_per_tgt));
 
 c->intr_timer = min_t(u16, VNIC_INTR_TIMER_MAX, c->intr_timer);
-     c->intr_timer_type = c->intr_timer_type;
 
 /* for older firmware, GET_CONFIG will not return anything */
 if (c->wq_copy_count == 0)
--
Quoted 3 lines

2.43.0

Looks good to me. Thanks for the change.

Regards,
Karan