Remove dead code

Remove dead code from the USE_DEVPOLL branch in libisc's unix/socket.c
This commit is contained in:
Aram Sargsyan
2021-09-08 11:23:27 +00:00
parent 3eb524c38a
commit 18514a43d5

View File

@@ -805,7 +805,6 @@ unwatch_fd(isc__socketthread_t *thread, int fd, int msg) {
#elif defined(USE_DEVPOLL)
struct pollfd pfds[2];
size_t writelen = sizeof(pfds[0]);
int lockid = FDLOCK_ID(fd);
memset(pfds, 0, sizeof(pfds));
pfds[0].events = POLLREMOVE;