From 4038d21062ee6d9eac9338bdeb12e9fff26eb488 Mon Sep 17 00:00:00 2001 From: Xinze Chi Date: Fri, 13 Feb 2015 09:05:06 +0000 Subject: [PATCH] cleanup: delete useless member variable Signed-off-by: Xinze Chi --- src/os/KeyValueStore.cc | 4 ---- src/os/KeyValueStore.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/os/KeyValueStore.cc b/src/os/KeyValueStore.cc index cb177e6962763..1881f2dcc17ac 100644 --- a/src/os/KeyValueStore.cc +++ b/src/os/KeyValueStore.cc @@ -541,10 +541,6 @@ KeyValueStore::KeyValueStore(const std::string &base, oss << basedir << "/current"; current_fn = oss.str(); - ostringstream sss; - sss << basedir << "/current/commit_op_seq"; - current_op_seq_fn = sss.str(); - // initialize perf_logger PerfCountersBuilder plb(g_ceph_context, internal_name, l_os_commit_len, l_os_last); diff --git a/src/os/KeyValueStore.h b/src/os/KeyValueStore.h index 3bd99c4d67e34..ef3085fa0d95b 100644 --- a/src/os/KeyValueStore.h +++ b/src/os/KeyValueStore.h @@ -194,7 +194,6 @@ class KeyValueStore : public ObjectStore, string internal_name; // internal name, used to name the perfcounter instance string basedir; std::string current_fn; - std::string current_op_seq_fn; uuid_d fsid; int fsid_fd, current_fd; -- 2.39.5