diff --git a/inotify_poller.go b/inotify_poller.go index e9ff9439..b572a37c 100644 --- a/inotify_poller.go +++ b/inotify_poller.go @@ -38,7 +38,6 @@ func newFdPoller(fd int) (*fdPoller, error) { poller.close() } }() - poller.fd = fd // Create epoll fd poller.epfd, errno = unix.EpollCreate1(unix.EPOLL_CLOEXEC)