projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t/read-to-pipe-async: remove dead code
[fio.git]
/
t
/
read-to-pipe-async.c
diff --git
a/t/read-to-pipe-async.c
b/t/read-to-pipe-async.c
index 586e3c95bfd339c276974bc3e641e19837f486d7..569fc62ae66f535d96a63ed01a78ec705a25a405 100644
(file)
--- a/
t/read-to-pipe-async.c
+++ b/
t/read-to-pipe-async.c
@@
-247,10
+247,8
@@
static void *writer_fn(void *data)
while (!wt->thread.exit || !flist_empty(&wt->list)) {
pthread_mutex_lock(&wt->thread.lock);
- if (work)
{
+ if (work)
flist_add_tail(&work->list, &wt->done_list);
- work = NULL;
- }
work = find_seq(wt, seq);
if (work)