From 7f70a7010632b0982cc8b0ad1559148ab07da6e9 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 19 Nov 2019 15:00:32 +0100 Subject: [PATCH] event: remove unused field 'closed' (#20324) --- event/feed.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/event/feed.go b/event/feed.go index f578f00c1..02f3ca687 100644 --- a/event/feed.go +++ b/event/feed.go @@ -39,10 +39,9 @@ type Feed struct { sendCases caseList // the active set of select cases used by Send // The inbox holds newly subscribed channels until they are added to sendCases. - mu sync.Mutex - inbox caseList - etype reflect.Type - closed bool + mu sync.Mutex + inbox caseList + etype reflect.Type } // This is the index of the first actual subscription channel in sendCases.