]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_context: remove set_module_type
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 20 Jul 2011 23:38:12 +0000 (16:38 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 20 Jul 2011 23:38:12 +0000 (16:38 -0700)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/common/ceph_context.cc
src/common/ceph_context.h

index 4c2a65327f12e8e6fcd42e352596040dde1c2701..669b9b6d93ec60d5062a803025a530d9bd4c1563 100644 (file)
@@ -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()
 {
index 522e6506a289ce3fc1f5a17ecb0c50f586347c61..957ab225a3fc73d591834fbcdfe11f910081030d 100644 (file)
@@ -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();