From 07ce5a76240f4282730b2cd5fba94e4a621c66cf Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 3 Feb 2017 11:28:14 +0100 Subject: [PATCH] dag: cleanup some code that had no effect anymore --- dag/walk.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dag/walk.go b/dag/walk.go index 72dad61de..47965764c 100644 --- a/dag/walk.go +++ b/dag/walk.go @@ -173,13 +173,9 @@ func (w *Walker) Update(g *Graph) { info := &walkerVertex{ DoneCh: make(chan struct{}), CancelCh: make(chan struct{}), - DepsCh: make(chan bool, 1), deps: make(map[Vertex]chan struct{}), } - // Pass dependencies immediately assuming we have no edges - info.DepsCh <- true - // Add it to the map and kick off the walk w.vertexMap[v] = info }