[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 5aeceb6..59b51c5 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);
        }