Signed-off-by: Robert Love <[EMAIL PROTECTED]>
---

 drivers/scsi/libfc/fc_lport.c |    5 +----
 include/scsi/libfc/libfc.h    |    1 -
 2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index de61ceb..d2aeb3b 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -335,7 +335,7 @@ void fc_linkup(struct fc_lport *lp)
                lp->link_status |= FC_LINK_UP;
                fc_lport_lock(lp);
                if (lp->state == LPORT_ST_RESET)
-                       lp->tt.lport_login(lp);
+                       fc_lport_enter_flogi(lp);
                fc_lport_unlock(lp);
        }
 }
@@ -1211,9 +1211,6 @@ int fc_lport_init(struct fc_lport *lp)
        if (!lp->tt.lport_recv)
                lp->tt.lport_recv = fc_lport_recv;
 
-       if (!lp->tt.lport_login)
-               lp->tt.lport_login = fc_lport_enter_reset;
-
        if (!lp->tt.lport_reset)
                lp->tt.lport_reset = fc_lport_enter_reset;
 
diff --git a/include/scsi/libfc/libfc.h b/include/scsi/libfc/libfc.h
index 06553cd..a2b19e9 100644
--- a/include/scsi/libfc/libfc.h
+++ b/include/scsi/libfc/libfc.h
@@ -330,7 +330,6 @@ struct libfc_function_template {
        void (*lport_recv)(struct fc_lport *lp, struct fc_seq *sp,
                           struct fc_frame *fp);
 
-       int (*lport_login)(struct fc_lport *);
        int (*lport_reset)(struct fc_lport *);
        int (*lport_logout)(struct fc_lport *);
        int (*lport_event_callback)(struct fc_lport *, struct fc_rport *,

_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to