Remove code! We don't need to update the waiter
The waiter will be updated by new callers of `change_and_push`.
This commit is contained in:
parent
931c0481d7
commit
51e30538f6
1 changed files with 0 additions and 3 deletions
|
@ -723,8 +723,5 @@ module Make (Pclock : Mirage_clock.PCLOCK) = struct
|
||||||
(fun err -> `Msg (Fmt.str "error pushing %a" Store.pp_error err))
|
(fun err -> `Msg (Fmt.str "error pushing %a" Store.pp_error err))
|
||||||
>>= fun res ->
|
>>= fun res ->
|
||||||
Lwt.wakeup_later wk () ;
|
Lwt.wakeup_later wk () ;
|
||||||
(match t.change_and_push_waiter with
|
|
||||||
| Some th' -> if th' == th then t.change_and_push_waiter <- None
|
|
||||||
| None -> ());
|
|
||||||
Lwt.return res
|
Lwt.return res
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue