Merge r5842 from the iser branch

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6266 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-11 16:33:49 +00:00
parent 010de6bd43
commit 7a652a5e3b

View File

@@ -458,9 +458,6 @@ int isert_rx_pdu_done(struct isert_cmnd *pdu)
if (++isert_conn->to_post_recv > isert_conn->repost_threshold) {
err = isert_post_recv(isert_conn, isert_conn->post_recv_first,
isert_conn->to_post_recv);
if (unlikely(err))
pr_err("Failed to post recv err:%d\n", err);
isert_conn->to_post_recv = 0;
}
spin_unlock(&isert_conn->post_recv_lock);