]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_objectstore: remove unused function
authorKefu Chai <kchai@redhat.com>
Mon, 20 Jun 2016 22:52:37 +0000 (06:52 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 20 Jun 2016 23:55:13 +0000 (07:55 +0800)
its caller was removed in 8a42e61

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/objectstore/store_test.cc

index adf0a64617fd3af95f8a2b2d6ec2420c456d6b7a..33ea9ffc1a1c4fc333943dcbd0db8b087fc7ba5a 100644 (file)
@@ -4806,15 +4806,6 @@ TEST(DummyTest, ValueParameterizedTestsAreNotSupportedOnThisPlatform) {}
 
 #endif
 
-static bool plugin_exists(const string& compressor_dir)
-{
-  string pattern(compressor_dir + "/libceph*.so");
-  glob_t buf;
-  int ret = glob(pattern.c_str(), 0, nullptr, &buf);
-  globfree(&buf);
-  return ret == 0;
-}
-
 int main(int argc, char **argv) {
   vector<const char*> args;
   argv_to_vec(argc, (const char **)argv, args);