isert: Fix deadlock that can be caused by calling flush_workqueue() from within that same workqueue

We no longer need to do flush of the workqueue, since we cleanup when all flushes are done now

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

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Yan Burman
2014-09-10 08:52:44 +00:00
parent 3c47e99157
commit 760b4a55b7
-2
View File
@@ -1073,8 +1073,6 @@ static void isert_kref_free(struct kref *kref)
pr_info("isert_conn_free conn:%p\n", isert_conn);
flush_workqueue(isert_conn->cq_desc->cq_workqueue);
isert_free_conn_resources(isert_conn);
isert_conn_qp_destroy(isert_conn);