]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove unused code
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 6 Aug 2014 00:36:33 +0000 (17:36 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 16 Jan 2015 22:18:45 +0000 (14:18 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_common.h

index 934a5ff2c06d6277bb43891c51d27f707d67def4..c9500884d9d37add08ea4c6685fbddd85138b165 100644 (file)
@@ -1027,15 +1027,6 @@ public:
   bool in_extra_data; /* in-memory only member, does not serialize */
 
   rgw_obj() : in_extra_data(false) {}
-  rgw_obj(const char *b, const char *o) : in_extra_data(false) {
-    rgw_bucket _b(b);
-    std::string _o(o);
-    init(_b, _o);
-  }
-  rgw_obj(rgw_bucket& b, const char *o) : in_extra_data(false) {
-    std::string _o(o);
-    init(b, _o);
-  }
   rgw_obj(rgw_bucket& b, const std::string& o) : in_extra_data(false) {
     init(b, o);
   }
@@ -1117,13 +1108,6 @@ public:
       set_key(orig_obj);
   }
 
-  string loc() {
-    if (orig_key.empty())
-      return orig_obj;
-    else
-      return orig_key;
-  }
-
   /**
    * Translate a namespace-mangled object name to the user-facing name
    * existing in the given namespace.