summaryrefslogtreecommitdiff
path: root/source3/lib/ctdbd_conn.c
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2016-12-27 15:41:51 +0100
committerDavid Disseldorp <ddiss@samba.org>2016-12-28 01:29:21 +0100
commitbdaa2bcc1dd768d27d3696de23c1e9c6084d58d3 (patch)
tree47e6dd751a5c9e89d113658276d2840862839bc1 /source3/lib/ctdbd_conn.c
parentdd3868a5c76cc6d177c393215c6755d1b42d74a6 (diff)
downloadsamba-bdaa2bcc1dd768d27d3696de23c1e9c6084d58d3.tar.gz
ctdbd_conn: remove unused fde from struct ctdbd_connection
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>
Diffstat (limited to 'source3/lib/ctdbd_conn.c')
-rw-r--r--source3/lib/ctdbd_conn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 118f3a02638..d16796f4038 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -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;