[Open-FCoE] [RFC PATCH 12/15] libfc: remove lport READY check

Robert Love robert.w.love at intel.com
Tue Sep 2 22:37:55 UTC 2008


Signed-off-by: Robert Love <robert.w.love at intel.com>
---

 include/scsi/libfc/libfc.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/scsi/libfc/libfc.h b/include/scsi/libfc/libfc.h
index 74ff4d1..ef0bb8e 100644
--- a/include/scsi/libfc/libfc.h
+++ b/include/scsi/libfc/libfc.h
@@ -525,7 +525,6 @@ static inline void fc_lport_unlock(struct fc_lport *lp)
 static inline void fc_lport_state_enter(struct fc_lport *lp,
 					enum fc_lport_state state)
 {
-	WARN_ON(!fc_lport_locked(lp));
 	del_timer(&lp->state_timer);
 	if (state != lp->state)
 		lp->retry_count = 0;




More information about the devel mailing list