* [PATCH] lpfc: remove self-assignments
@ 2014-02-20 19:22 James Smart
0 siblings, 0 replies; only message in thread
From: James Smart @ 2014-02-20 19:22 UTC (permalink / raw)
To: linux-scsi
As spotted by coverty/Dave Jones, removing unnecessary self assignments.
-- james s
Signed-off-by: James Smart <james.smart@emulex.com>
---
lpfc_hbadisc.c | 4 ----
1 file changed, 4 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c 2014-02-19 15:16:18.664005738 -0500
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c 2014-02-20 14:17:21.208419233 -0500
@@ -6189,10 +6189,6 @@ lpfc_read_fcf_conn_tbl(struct lpfc_hba *
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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-20 19:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-20 19:22 [PATCH] lpfc: remove self-assignments James Smart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox