[stgt] [PATCH] Remove unneeded pthread_cond_broadcast
Andy Grover
agrover at redhat.com
Wed Apr 30 19:00:21 CEST 2014
Previous patchset neglected to remove a now unneeded call.
Signed-off-by: Andy Grover <agrover at redhat.com>
---
usr/bs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/usr/bs.c b/usr/bs.c
index 1ab86f7..a6b0b57 100644
--- a/usr/bs.c
+++ b/usr/bs.c
@@ -448,8 +448,6 @@ void bs_thread_close(struct bs_thread_info *info)
{
int i;
- pthread_cond_broadcast(&info->pending_cond);
-
for (i = 0; i < info->nr_worker_threads && info->worker_thread[i]; i++) {
pthread_cancel(info->worker_thread[i]);
pthread_join(info->worker_thread[i], NULL);
--
1.9.0
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list