[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>
This commit is contained in:
parent
4ef7fb150f
commit
66a5b3acba
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue