From fe9af19da942b191fbacdbe785c7b67cf9965dbd Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 10 Feb 2020 23:14:38 -0800 Subject: [PATCH] controlclient: remove unnecessary comparison to bool. Signed-off-by: David Anderson --- control/controlclient/auto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/controlclient/auto.go b/control/controlclient/auto.go index 67f187f59..ebcf120d8 100644 --- a/control/controlclient/auto.go +++ b/control/controlclient/auto.go @@ -196,7 +196,7 @@ func (c *Client) cancelMapSafely() { c.logf("cancelMapSafely: synced=%v\n", c.synced) - if c.inPollNetMap == true { + if c.inPollNetMap { // received at least one netmap since the last // interruption. That means the server has already // fully processed our last request, which might