]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async/AsyncConnection: drop unused port 2768/head
authorSage Weil <sage@redhat.com>
Tue, 21 Oct 2014 16:56:17 +0000 (09:56 -0700)
committerSage Weil <sage@redhat.com>
Tue, 21 Oct 2014 16:56:17 +0000 (09:56 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/AsyncConnection.cc

index c48c1e7c8985a97079dca087044433a492fc6bc0..4a050c00a5b8561bc7913fc15d012eceb0a40818 100644 (file)
@@ -870,7 +870,6 @@ int AsyncConnection::_process_connection()
     case STATE_CONNECTING_WAIT_IDENTIFY_PEER:
       {
         entity_addr_t paddr, peer_addr_for_me;
-        int port;
         bufferlist myaddrbl;
 
         r = read_until(sizeof(paddr)*2, state_buffer);
@@ -891,7 +890,6 @@ int AsyncConnection::_process_connection()
           lderr(async_msgr->cct) << __func__ <<  " decode peer addr failed " << dendl;
           goto fail;
         }
-        port = peer_addr_for_me.get_port();
         ldout(async_msgr->cct, 20) << __func__ <<  " connect read peer addr "
                              << paddr << " on socket " << sd << dendl;
         if (peer_addr != paddr) {