projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ef7fb1
)
[SCSI] libfc: remove duplicate ema_list init
author
Vasu Dev
<vasu.dev@intel.com>
Fri, 1 Apr 2011 23:06:35 +0000
(16:06 -0700)
committer
James 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/libfc/fc_lport.c
b/drivers/scsi/libfc/fc_lport.c
index 906bbcad0e2d400786ad42d8ff1f412b8a66575a..389ab80aef0a3d4aaf9f7c173e19a7cf2f4c2e00 100644
(file)
--- a/
drivers/scsi/libfc/fc_lport.c
+++ b/
drivers/scsi/libfc/fc_lport.c
@@
-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);