[PATCH] Remove unneeded pthread_cond_broadcast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Previous patchset neglected to remove a now unneeded call.

Signed-off-by: Andy Grover <agrover@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux