[PATCH] Remove unneeded pthread_cond_broadcast

Andy Grover <[email protected]>
Newsgroups org.kernel.vger.stgt
Message-ID <[email protected]>
Previous patchset neglected to remove a now unneeded call.

Signed-off-by: Andy Grover <[email protected]>
---
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.