]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove dead code
authorMark Andrews <marka@isc.org>
Wed, 2 Sep 2020 03:26:21 +0000 (13:26 +1000)
committerMark Andrews <marka@isc.org>
Wed, 2 Sep 2020 21:14:45 +0000 (07:14 +1000)
(cherry picked from commit e923e62f6ceb06ef811fd983967a7b7e8b994069)

lib/isc/unix/socket.c

index 21616251fe2317596ced8d3a1dfe97c59faaf341..3621009044a81db9cd9226de5eb30d7f122afc97 100644 (file)
@@ -717,7 +717,6 @@ watch_fd(isc__socketthread_t *thread, int fd, int msg) {
        return (result);
 #elif defined(USE_DEVPOLL)
        struct pollfd pfd;
-       int lockid = FDLOCK_ID(fd);
 
        memset(&pfd, 0, sizeof(pfd));
        if (msg == SELECT_POKE_READ) {