|
@@ -110,16 +110,8 @@ static void __iscsi_update_cmdsn(struct iscsi_session *session,
|
|
|
session->exp_cmdsn = exp_cmdsn;
|
|
|
|
|
|
if (max_cmdsn != session->max_cmdsn &&
|
|
|
- !iscsi_sna_lt(max_cmdsn, session->max_cmdsn)) {
|
|
|
+ !iscsi_sna_lt(max_cmdsn, session->max_cmdsn))
|
|
|
session->max_cmdsn = max_cmdsn;
|
|
|
- /*
|
|
|
- * if the window closed with IO queued, then kick the
|
|
|
- * xmit thread
|
|
|
- */
|
|
|
- if (!list_empty(&session->leadconn->cmdqueue) ||
|
|
|
- !list_empty(&session->leadconn->mgmtqueue))
|
|
|
- iscsi_conn_queue_work(session->leadconn);
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
void iscsi_update_cmdsn(struct iscsi_session *session, struct iscsi_nopin *hdr)
|