From: Yingxin Date: Fri, 28 Dec 2018 02:31:32 +0000 (+0800) Subject: crimson/net: remove the unecessary then X-Git-Tag: v14.1.0~481^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e662b7865f731d5b6cb63a75c65e9993f5674a7e;p=ceph.git crimson/net: remove the unecessary then Signed-off-by: Yingxin --- diff --git a/src/crimson/net/SocketConnection.cc b/src/crimson/net/SocketConnection.cc index c472fb82f2f..6c0766006cd 100644 --- a/src/crimson/net/SocketConnection.cc +++ b/src/crimson/net/SocketConnection.cc @@ -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(); });