Commit 66a5b3acba563b53cfbca96c7fff2207c94a87e2

Authored by Vasu Dev
Committed by James Bottomley
1 parent 4ef7fb150f

[SCSI] libfc: remove duplicate ema_list init

As ema_list is already initialized by libfc_host_alloc.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

drivers/scsi/libfc/fc_lport.c
... ... @@ -1590,7 +1590,6 @@
1590 1590 */
1591 1591 int fc_lport_config(struct fc_lport *lport)
1592 1592 {
1593   - INIT_LIST_HEAD(&lport->ema_list);
1594 1593 INIT_DELAYED_WORK(&lport->retry_work, fc_lport_timeout);
1595 1594 mutex_init(&lport->lp_mutex);
1596 1595