]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove dead code
authorAram Sargsyan <aram@isc.org>
Wed, 8 Sep 2021 11:23:27 +0000 (11:23 +0000)
committerAram Sargsyan <aram@isc.org>
Wed, 8 Sep 2021 12:52:33 +0000 (12:52 +0000)
Remove dead code from the USE_DEVPOLL branch in libisc's unix/socket.c

lib/isc/unix/socket.c

index c23f6c64bdf003cb03bdef8648c72fe44547e5cd..d26751630ff8294189333a808b90c43fef69dd45 100644 (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;