]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove dead code
authorAram Sargsyan <aram@isc.org>
Fri, 3 Sep 2021 16:58:19 +0000 (16:58 +0000)
committerAram Sargsyan <aram@isc.org>
Wed, 8 Sep 2021 10:12:03 +0000 (10:12 +0000)
Remove dead code from the USE_DEVPOLL branch in libisc's socket.c

lib/isc/socket.c

index fd67c8299f264a5fe92e3c4b72818b4ef24eebca..12d8c71550d4aceafaf0d400f070982007114c1e 100644 (file)
@@ -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;