[Open-FCoE] [PATCH 1/7] Removed inner port allocation

Vasu Dev vasu.dev at intel.com
Tue Apr 1 15:25:42 UTC 2008


Signed-off-by: Vasu Dev <vasu.dev at intel.com>

Signed-off-by: Vasu Dev <vasu.dev at intel.com>
---

 drivers/scsi/ofc/openfc/fcs_state.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/drivers/scsi/ofc/openfc/fcs_state.c b/drivers/scsi/ofc/openfc/fcs_state.c
index 43aa792..4c4b07a 100644
--- a/drivers/scsi/ofc/openfc/fcs_state.c
+++ b/drivers/scsi/ofc/openfc/fcs_state.c
@@ -97,7 +97,6 @@ int fcs_set_mfs(struct fcs_state *sp, u_int mfs)
 struct fcs_state *fcs_create(struct fcs_create_args *ap)
 {
 	struct fcs_state *sp;
-	struct fc_port *inner_port;
 
 	WARN_ON(!ap->fca_disc_done);
 
@@ -119,16 +118,10 @@ struct fcs_state *fcs_create(struct fcs_create_args *ap)
 	if (!sp->fs_args.fca_disc_done)
 		sp->fs_args.fca_disc_done = (void (*)(void *))fcs_nop;
 
-	inner_port = fc_port_alloc();
-	if (!inner_port)
-		goto error;
-	sp->fs_inner_port = inner_port;
-
 	if (!ap->dev)
 		goto error;
 
 	fcs_set_mfs_int(sp, ap->dev->framesize);
-	fc_port_set_ingress(inner_port, fcs_recv_req, sp);
 
 	sp->events = sa_event_list_alloc();
 	if (!sp->events)




More information about the devel mailing list