From: Xinze Chi Date: Fri, 13 Feb 2015 09:05:06 +0000 (+0000) Subject: cleanup: delete useless member variable X-Git-Tag: v0.93~43^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4038d21062ee6d9eac9338bdeb12e9fff26eb488;p=ceph.git cleanup: delete useless member variable Signed-off-by: Xinze Chi --- diff --git a/src/os/KeyValueStore.cc b/src/os/KeyValueStore.cc index cb177e69627..1881f2dcc17 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 3bd99c4d67e..ef3085fa0d9 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;