aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2014-02-20 14:22:16 -0500
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 13:18:58 -0400
commit15367540f95d455c0d9500cae6e856fcfcd010be (patch)
treeb49dc8fe2291f8d02ebc110fa974c5954e5a9900 /drivers/scsi/lpfc
parent3d53af4d4a198446fcef6d878466094355b7ec38 (diff)
[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>
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index 5aeceb61bd91..59b51c529ba0 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -6189,10 +6189,6 @@ lpfc_read_fcf_conn_tbl(struct lpfc_hba *phba,
6189 6189
6190 memcpy(&conn_entry->conn_rec, &conn_rec[i], 6190 memcpy(&conn_entry->conn_rec, &conn_rec[i],
6191 sizeof(struct lpfc_fcf_conn_rec)); 6191 sizeof(struct lpfc_fcf_conn_rec));
6192 conn_entry->conn_rec.vlan_tag =
6193 conn_entry->conn_rec.vlan_tag;
6194 conn_entry->conn_rec.flags =
6195 conn_entry->conn_rec.flags;
6196 list_add_tail(&conn_entry->list, 6192 list_add_tail(&conn_entry->list,
6197 &phba->fcf_conn_rec_list); 6193 &phba->fcf_conn_rec_list);
6198 } 6194 }