]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/AsyncMessenger: remove unused function 10163/head
authorMichal Jarzabek <stiopa@gmail.com>
Tue, 5 Jul 2016 21:08:24 +0000 (22:08 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Wed, 6 Jul 2016 17:32:39 +0000 (18:32 +0100)
Remove create_anon_connection() function.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/msg/async/AsyncMessenger.cc
src/msg/async/AsyncMessenger.h

index df0f4a6c43a895b807eba3ce06be463ea9841c65..94e3e5d37d1a0f5828cccb132ee875fbf627fd70 100644 (file)
@@ -815,12 +815,6 @@ void AsyncMessenger::mark_down(const entity_addr_t& addr)
   lock.Unlock();
 }
 
-Connection *AsyncMessenger::create_anon_connection() {
-  Mutex::Locker l(lock);
-  Worker *w = pool->get_worker();
-  return new AsyncConnection(cct, this, &dispatch_queue, w);
-}
-
 int AsyncMessenger::get_proto_version(int peer_type, bool connect)
 {
   int my_type = my_inst.name.type();
index d4270b8c828962517e3a8b6daf4ec6a08117af20..77ae445793ca3c75676eecab93dce0ffbc4a34fc 100644 (file)
@@ -222,8 +222,6 @@ public:
    * @{
    */
 
-  Connection *create_anon_connection();
-
   /**
    * @} // Inner classes
    */