]> Pileus Git - ~andy/linux/commitdiff
[SCSI] libfc: remove duplicate ema_list init
authorVasu Dev <vasu.dev@intel.com>
Fri, 1 Apr 2011 23:06:35 +0000 (16:06 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 15:20:52 +0000 (10:20 -0500)
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>
drivers/scsi/libfc/fc_lport.c

index 906bbcad0e2d400786ad42d8ff1f412b8a66575a..389ab80aef0a3d4aaf9f7c173e19a7cf2f4c2e00 100644 (file)
@@ -1590,7 +1590,6 @@ void fc_lport_enter_flogi(struct fc_lport *lport)
  */
 int fc_lport_config(struct fc_lport *lport)
 {
-       INIT_LIST_HEAD(&lport->ema_list);
        INIT_DELAYED_WORK(&lport->retry_work, fc_lport_timeout);
        mutex_init(&lport->lp_mutex);