From: Colin Patrick McCabe Date: Wed, 20 Jul 2011 23:38:12 +0000 (-0700) Subject: ceph_context: remove set_module_type X-Git-Tag: v0.32~52 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7cb1edd90447b5a15476a3f2dfdfbbb67df60ab9;p=ceph.git ceph_context: remove set_module_type Signed-off-by: Colin McCabe --- diff --git a/src/common/ceph_context.cc b/src/common/ceph_context.cc index 4c2a65327f12..669b9b6d93ec 100644 --- a/src/common/ceph_context.cc +++ b/src/common/ceph_context.cc @@ -180,12 +180,6 @@ get_module_type() const return _module_type; } -void CephContext:: -set_module_type(uint32_t module_type_) -{ - _module_type = module_type_; -} - PerfCountersCollection *CephContext:: GetPerfCountersCollection() { diff --git a/src/common/ceph_context.h b/src/common/ceph_context.h index 522e6506a289..957ab225a3fc 100644 --- a/src/common/ceph_context.h +++ b/src/common/ceph_context.h @@ -59,9 +59,6 @@ public: /* Get the module type (client, mon, osd, mds, etc.) */ uint32_t get_module_type() const; - /* Set module type (TODO: remove) */ - void set_module_type(uint32_t module_type_); - /* Get the PerfCountersCollection of this CephContext */ PerfCountersCollection *GetPerfCountersCollection();