diff --git a/lightningd/connection.c b/lightningd/connection.c index 9366108d1..2f23854a2 100644 --- a/lightningd/connection.c +++ b/lightningd/connection.c @@ -69,7 +69,6 @@ void daemon_conn_init(tal_t *ctx, struct daemon_conn *dc, int fd, dc->ctx = ctx; dc->msg_in = NULL; msg_queue_init(&dc->out, dc->ctx); - dc->conn_fd = fd; dc->msg_queue_cleared_cb = NULL; io_new_conn(ctx, fd, daemon_conn_start, dc); } diff --git a/lightningd/connection.h b/lightningd/connection.h index e40ec45a5..3ebc57529 100644 --- a/lightningd/connection.h +++ b/lightningd/connection.h @@ -17,7 +17,7 @@ struct daemon_conn { /* Queue of outgoing messages */ struct msg_queue out; - int conn_fd; + /* Underlying connection */ struct io_conn *conn; /* Callback for incoming messages */