From 0001e7144e8c9a7723c5aa3b5eb4c427a256c657 Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Tue, 27 Aug 2024 06:45:22 +0800 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 78fa3d98d8ebe..b8ebac92ce69b 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.