Don't signal when lowering number of waiting routines

Signal is not needed as we never need to wake up when the waiting
is lowered, only when increased.

Kubernetes-commit: e6b54149bb42d58301e34872ebbcf2ea4bcfb474
This commit is contained in:
Marek Siarkowicz 2024-05-24 10:13:52 +02:00 committed by Kubernetes Publisher
parent be4e4c6bdd
commit 9af63b1bc9
1 changed files with 0 additions and 1 deletions

View File

@ -125,5 +125,4 @@ func (pr *conditionalProgressRequester) Remove() {
pr.mux.Lock()
defer pr.mux.Unlock()
pr.waiting -= 1
pr.cond.Signal()
}