From 18514a43d507f1e4ca577fbdba78879011aaaffc Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Wed, 8 Sep 2021 11:23:27 +0000 Subject: [PATCH] Remove dead code Remove dead code from the USE_DEVPOLL branch in libisc's unix/socket.c --- lib/isc/unix/socket.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index c23f6c64bd..d26751630f 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -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;