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

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

diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index e9dcdbc..0305854 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -1035,15 +1035,6 @@ static void fc_lport_enter_logo(struct fc_lport *lp)
                              FC_FC_SEQ_INIT | FC_FC_END_SEQ);
 }
 
-static int fc_lport_logout(struct fc_lport *lp)
-{
-       fc_lport_lock(lp);
-       if (lp->state != LPORT_ST_LOGO)
-               fc_lport_enter_logo(lp);
-       fc_lport_unlock(lp);
-       return 0;
-}
-
 /*
  * Handle incoming ELS FLOGI response.
  * Save parameters of remote switch.  Finish exchange.
@@ -1176,9 +1167,6 @@ int fc_lport_init(struct fc_lport *lp)
        if (!lp->tt.lport_reset)
                lp->tt.lport_reset = fc_lport_enter_reset;
 
-       if (!lp->tt.lport_logout)
-               lp->tt.lport_logout = fc_lport_logout;
-
        if (!lp->tt.event_callback)
                lp->tt.event_callback = fc_lport_rport_event;
 
diff --git a/include/scsi/libfc/libfc.h b/include/scsi/libfc/libfc.h
index 5467dd1..e287144 100644
--- a/include/scsi/libfc/libfc.h
+++ b/include/scsi/libfc/libfc.h
@@ -342,7 +342,6 @@ struct libfc_function_template {
                           struct fc_frame *fp);
 
        int (*lport_reset)(struct fc_lport *);
-       int (*lport_logout)(struct fc_lport *);
 
        void (*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