From 74f50cd29f8b46a7b4d6ee538cb33fd3c224bce2 Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Fri, 3 Sep 2021 16:58:19 +0000 Subject: [PATCH] Remove dead code Remove dead code from the USE_DEVPOLL branch in libisc's socket.c --- lib/isc/socket.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/isc/socket.c b/lib/isc/socket.c index fd67c8299f..12d8c71550 100644 --- a/lib/isc/socket.c +++ b/lib/isc/socket.c @@ -803,7 +803,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;