Remove unnecessary return

Co-Authored-By: preetapan <preetha@hashicorp.com>
This commit is contained in:
Michael Schurter
2018-10-25 13:40:28 -05:00
committed by GitHub
parent f50c358988
commit 1f87a25d54

View File

@@ -598,7 +598,6 @@ func (d *QemuDriver) handleWait(ctx context.Context, handle *qemuTaskHandle, ch
select {
case <-ctx.Done():
case <-d.ctx.Done():
return
case ch <- result:
}
}