iscsi-target: Remove unnecessary wait_for_completion in iscsi_get_thread_set
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 7 Sep 2013 03:50:36 +0000 (20:50 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 11 Sep 2013 03:23:30 +0000 (20:23 -0700)
This patch removes an unnecessary wait_for_completion within
iscsi_get_thread_set(), that would wait for 1 second before
trying to obtain an inactive struct iscsi_thread_set from
iscsi_get_ts_from_inactive_list().

Since iscsi_allocate_thread_sets() will already be adding the
newly allocated iscsi_thread_set to the inactive list directly,
there is no need to wait here.

Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found