crimson/net: remove the unecessary then
authorYingxin <yingxin.cheng@intel.com>
Fri, 28 Dec 2018 02:31:32 +0000 (10:31 +0800)
committerYingxin Cheng <yingxincheng@gmail.com>
Fri, 4 Jan 2019 05:48:54 +0000 (13:48 +0800)
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
src/crimson/net/SocketConnection.cc

index c472fb82f2fcad643427afcc9dc26c75b1b0aa0f..6c0766006cdc5cbd5f3bf380bbe8653c677a36c9 100644 (file)
@@ -864,7 +864,6 @@ SocketConnection::start_accept(seastar::connected_socket&& fd,
           peer_addr.set_type(addr.get_type());
           peer_addr.set_port(addr.get_port());
           peer_addr.set_nonce(addr.get_nonce());
-        }).then([this] {
           return seastar::repeat([this] {
             return repeat_handle_connect();
           });