From: Kefu Chai Date: Fri, 17 Feb 2017 04:45:12 +0000 (+0800) Subject: msg/simple/Pipe: remove no-op statements X-Git-Tag: v12.0.1~350^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f8a959306e9351b87b946d8672adc4ce26d9183b;p=ceph.git msg/simple/Pipe: remove no-op statements addresses CID 1400658: Incorrect expression (NO_EFFECT) Signed-off-by: Kefu Chai --- diff --git a/src/msg/simple/Pipe.cc b/src/msg/simple/Pipe.cc index 4afd1a13e27..ef90d04b81b 100644 --- a/src/msg/simple/Pipe.cc +++ b/src/msg/simple/Pipe.cc @@ -427,9 +427,6 @@ int Pipe::accept() goto fail_unlocked; } - // sanitize features - connect.features = connect.features; - authorizer.clear(); if (connect.authorizer_len) { bp = buffer::create(connect.authorizer_len); @@ -1161,9 +1158,6 @@ int Pipe::connect() goto fail; } - // sanitize features - reply.features = reply.features; - ldout(msgr->cct,20) << "connect got reply tag " << (int)reply.tag << " connect_seq " << reply.connect_seq << " global_seq " << reply.global_seq