scsi:fnic: Self-assignment of intr_time_type has no effect
Subsystems (2)
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
Signed-off-by Qiang Liu <[email protected]>
--- drivers/scsi/fnic/fnic_res.c | 1 - 1 file changed, 1 deletion(-)
drivers/scsi/fnic/fnic_res.c +0 -1
@@ -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
Quoted 22 lines · On Friday, October 17, 2025 12:55 AM, [email protected]…
Remove the self-assignment statement of the
intr_time_typevariableSigned-off-by Qiang Liu <[email protected]>---
drivers/scsi/fnic/fnic_res.c| 1 -1 file changed, 1 deletion(-)drivers/scsi/fnic/fnic_res.c +0
-2@@ -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.
Reviewed-by Karan Tilak Kumar <[email protected]>
Regards,
Karan
Martin K. Petersen
AppliedQuoted 2 lines
Remove the self-assignment statement of the
intr_time_typevariable
Applied to 6.19/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen