]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
[SCSI] lpfc: remove self-assignments
authorJames Smart <james.smart@emulex.com>
Thu, 20 Feb 2014 19:22:16 +0000 (14:22 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:18:58 +0000 (10:18 -0700)
Report from coverity

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_hbadisc.c

index 5aeceb61bd917b30dbea4f745cca5cd13ef0346b..59b51c529ba0f9666a7200928ea7b330626daac7 100644 (file)
@@ -6189,10 +6189,6 @@ lpfc_read_fcf_conn_tbl(struct lpfc_hba *phba,
 
                memcpy(&conn_entry->conn_rec, &conn_rec[i],
                        sizeof(struct lpfc_fcf_conn_rec));
-               conn_entry->conn_rec.vlan_tag =
-                       conn_entry->conn_rec.vlan_tag;
-               conn_entry->conn_rec.flags =
-                       conn_entry->conn_rec.flags;
                list_add_tail(&conn_entry->list,
                        &phba->fcf_conn_rec_list);
        }