From: Kefu Chai Date: Fri, 17 Feb 2017 04:49:12 +0000 (+0800) Subject: msg/async/AsyncConnection: remove no-ops X-Git-Tag: v12.0.1~350^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f40b09cad0176c90673b9d8fa5ba810cf89fe468;p=ceph.git msg/async/AsyncConnection: remove no-ops addresses CID 1400656: Incorrect expression (NO_EFFECT) Signed-off-by: Kefu Chai --- diff --git a/src/msg/async/AsyncConnection.cc b/src/msg/async/AsyncConnection.cc index e5b39f1d4c33..0dc74d35d135 100644 --- a/src/msg/async/AsyncConnection.cc +++ b/src/msg/async/AsyncConnection.cc @@ -1074,7 +1074,6 @@ ssize_t AsyncConnection::_process_connection() } connect_reply = *((ceph_msg_connect_reply*)state_buffer); - connect_reply.features = connect_reply.features; ldout(async_msgr->cct, 20) << __func__ << " connect got reply tag " << (int)connect_reply.tag << " connect_seq " << connect_reply.connect_seq << " global_seq " @@ -1286,8 +1285,6 @@ ssize_t AsyncConnection::_process_connection() } connect_msg = *((ceph_msg_connect*)state_buffer); - // sanitize features - connect_msg.features = connect_msg.features; state = STATE_ACCEPTING_WAIT_CONNECT_MSG_AUTH; break; }