From d7c71ca97925f3236b74370fb380447d1cc4071e 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 f578f00c10ff..02f3ca68759f 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.