From 0713a63bc3ec5a6c98fb62058d8c23b93c476efe Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Fri, 19 Apr 2024 20:40:52 +0800 Subject: [PATCH] chore: cleanup --- internal/netpoll/defs_poller_kqueue.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/internal/netpoll/defs_poller_kqueue.go b/internal/netpoll/defs_poller_kqueue.go index d12719020..0b2e883b8 100644 --- a/internal/netpoll/defs_poller_kqueue.go +++ b/internal/netpoll/defs_poller_kqueue.go @@ -31,14 +31,6 @@ const ( MinPollEventsCap = 16 // MaxAsyncTasksAtOneTime is the maximum amount of asynchronous tasks that the event-loop will process at one time. MaxAsyncTasksAtOneTime = 128 - // EVFilterWrite represents writeable events from sockets. - EVFilterWrite = unix.EVFILT_WRITE - // EVFilterRead represents readable events from sockets. - EVFilterRead = unix.EVFILT_READ - // EVFlagsEOF indicates filter-specific EOF condition. - EVFlagsEOF = unix.EV_EOF - // EVFlagsError indicates filter-specific error condition. - EVFlagsError = unix.EV_ERROR ) // PollEventHandler is the callback for I/O events notified by the poller.