ctdbd_conn: remove unused fde from struct ctdbd_connection
authorRalph Boehme <slow@samba.org>
Tue, 27 Dec 2016 14:41:51 +0000 (15:41 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Wed, 28 Dec 2016 00:29:21 +0000 (01:29 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12485

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/lib/ctdbd_conn.c

index 118f3a026382e4d06fa4ff902531bdcd11898e04..d16796f4038279780836d3879f09e4dfba2dd998 100644 (file)
@@ -50,7 +50,6 @@ struct ctdbd_connection {
        uint64_t rand_srvid;
        struct ctdbd_srvid_cb *callbacks;
        int fd;
-       struct tevent_fd *fde;
        int timeout;
 };
 
@@ -394,7 +393,6 @@ static int ctdb_read_req(struct ctdbd_connection *conn, uint32_t reqid,
 
 static int ctdbd_connection_destructor(struct ctdbd_connection *c)
 {
-       TALLOC_FREE(c->fde);
        if (c->fd != -1) {
                close(c->fd);
                c->fd = -1;