mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
[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
1 changed files with 0 additions and 4 deletions
|
@ -6189,10 +6189,6 @@ lpfc_read_fcf_conn_tbl(struct lpfc_hba *phba,
|
||||||
|
|
||||||
memcpy(&conn_entry->conn_rec, &conn_rec[i],
|
memcpy(&conn_entry->conn_rec, &conn_rec[i],
|
||||||
sizeof(struct lpfc_fcf_conn_rec));
|
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,
|
list_add_tail(&conn_entry->list,
|
||||||
&phba->fcf_conn_rec_list);
|
&phba->fcf_conn_rec_list);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue