isert: Remove unneeded if in the fast path

Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5842 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Yan Burman
2014-10-13 12:33:30 +00:00
parent dc27d29167
commit 6b38638e71

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);