Skip to contentSkip to conversation

lpfc: remove self-assignments

PATCH New James Smart 1 participant 1 message Feb 20, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lpfc: remove self-assignments

As spotted by coverty/Dave Jones, removing unnecessary self assignments.

-- james s

---

 lpfc_hbadisc.c |    4 ----
 1 file changed, 4 deletions(-)
drivers/scsi/lpfc/lpfc_hbadisc.c +0 -4
diff -upNr 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 *
 
 		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);
 	}