]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Remove useless variable
authorpcarana <pc.moreno2099@gmail.com>
Fri, 28 Aug 2020 21:07:55 +0000 (16:07 -0500)
committerpcarana <pc.moreno2099@gmail.com>
Fri, 28 Aug 2020 21:07:55 +0000 (16:07 -0500)
src/rtr/rtr.c

index b1faf593c19cec1e52fde17f5ac6020c309442ae..6dd70e65cd466a27f735093568d063225e8b6e0e 100644 (file)
@@ -28,10 +28,9 @@ struct thread_param {
        struct sockaddr_storage addr;
 };
 
-/* Parameters for each thread that binds to a server address/socket */
+/* Parameters for each file descriptor that binds to a server address/socket */
 struct fd_node {
        int id;
-       pthread_t tid;
        SLIST_ENTRY(fd_node) next;
 };
 
@@ -190,7 +189,6 @@ fd_node_create(struct fd_node **result)
                return pr_enomem();
 
        node->id = -1;
-       node->tid = -1;
 
        *result = node;
        return 0;