]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: fnic: Self-assignment of intr_time_type has no effect
authorQiang Liu <liuqiang@kylinos.cn>
Fri, 17 Oct 2025 07:55:03 +0000 (15:55 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 20 Oct 2025 16:43:07 +0000 (12:43 -0400)
Remove the self-assignment statement of the intr_time_type variable.

Signed-off-by: Qiang Liu <liuqiang@kylinos.cn>
Reviewed-by: Karan Tilak Kumar <kartilak@cisco.com>
Link: https://patch.msgid.link/20251017075504.143491-1-liuqiangneo@163.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_res.c

index 763475587b7fe8ff8e9de385b3030181e5c3b2a9..9801e5fbb0ddd438c692f30a1279033ebab9d8e5 100644 (file)
@@ -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)