forked from Minki/linux
[SCSI] lpfc: remove self-assignments
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>
This commit is contained in:
parent
3d53af4d4a
commit
15367540f9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user