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

 drivers/scsi/libfc/fc_rport.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c
index 08e7191..d2cc634 100644
--- a/drivers/scsi/libfc/fc_rport.c
+++ b/drivers/scsi/libfc/fc_rport.c
@@ -462,11 +462,7 @@ static void fc_rport_plogi_resp(struct fc_seq *sp, struct 
fc_frame *fp,
                                        fc_rport_state_enter(rport, 
RPORT_ST_READY);
                                        if (fc_rp_debug)
                                                FC_DBG("remote %6x ready", 
rport->port_id);
-                                       
-                                       fc_lport_lock(lp);
-                                       del_timer(&lp->state_timer);
                                        lp->tt.lport_event_callback(lp, rport, 
LPORT_EV_RPORT_SUCCESS);
-                                       fc_lport_unlock(lp);
                                } else
                                        fc_rport_enter_prli(rport);
                        }
@@ -1078,12 +1074,8 @@ static void fc_rport_recv_prli_req(struct fc_rport 
*rport,
                        if (fc_rp_debug)
                                FC_DBG("remote %6x ready", rport->port_id);
 
-                       if (rport->port_id >= FC_FID_DOM_MGR) {
-                               fc_lport_lock(lp);
-                               del_timer(&lp->state_timer);
+                       if (rport->port_id >= FC_FID_DOM_MGR)
                                lp->tt.lport_event_callback(lp, rport, 
LPORT_EV_RPORT_SUCCESS);
-                               fc_lport_unlock(lp);
-                       }
                        break;
                case RPORT_ST_READY:
                        break;

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

Reply via email to