From 2782ef67de9ba332bcc8454d3afd5b0914a6f94c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 23 Feb 2016 01:18:52 +0900 Subject: [PATCH] nghttpd: Remove unused function --- src/HttpServer.cc | 3 --- src/HttpServer.h | 1 - 2 files changed, 4 deletions(-) diff --git a/src/HttpServer.cc b/src/HttpServer.cc index 15650136..03140c3b 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -308,7 +308,6 @@ public: } auto handler = make_unique(this, fd, ssl, get_next_session_id()); - handler->setup_bev(); if (!ssl) { if (handler->connection_made() != 0) { return; @@ -575,8 +574,6 @@ struct ev_loop *Http2Handler::get_loop() const { Http2Handler::WriteBuf *Http2Handler::get_wb() { return &wb_; } -int Http2Handler::setup_bev() { return 0; } - void Http2Handler::start_settings_timer() { ev_timer_start(sessions_->get_loop(), &settings_timerev_); } diff --git a/src/HttpServer.h b/src/HttpServer.h index 27b5b2c9..0690307e 100644 --- a/src/HttpServer.h +++ b/src/HttpServer.h @@ -137,7 +137,6 @@ public: ~Http2Handler(); void remove_self(); - int setup_bev(); void start_settings_timer(); int on_read(); int on_write();