summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hbadisc.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2014-02-20 20:22:16 +0100
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 18:18:58 +0100
commit15367540f95d455c0d9500cae6e856fcfcd010be (patch)
treeb49dc8fe2291f8d02ebc110fa974c5954e5a9900 /drivers/scsi/lpfc/lpfc_hbadisc.c
parent[SCSI] lpfc 8.3.45: Update lpfc version to driver version 8.3.45 (diff)
downloadlinux-15367540f95d455c0d9500cae6e856fcfcd010be.tar.xz
linux-15367540f95d455c0d9500cae6e856fcfcd010be.zip
[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/lpfc_hbadisc.c')
-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,
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);
}