diff options
-rw-r--r-- | ctdb/tcp/tcp_init.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ctdb/tcp/tcp_init.c b/ctdb/tcp/tcp_init.c index 527373cb08..5c53caf6cd 100644 --- a/ctdb/tcp/tcp_init.c +++ b/ctdb/tcp/tcp_init.c @@ -147,9 +147,6 @@ static const struct ctdb_methods ctdb_tcp_methods = { static int tcp_ctcp_destructor(struct ctdb_tcp *ctcp) { - if (ctcp->listen_fd) { - close(ctcp->listen_fd); - } ctcp->ctdb->private_data = NULL; ctcp->ctdb->methods = NULL; |