From: Sage Weil Date: Tue, 18 Jun 2013 00:08:55 +0000 (-0700) Subject: mon/PaxosService: remove unused exists_version() variant X-Git-Tag: v0.67-rc1~175^2~30 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6429cb1daff267b040a485188709432c554d2f80;p=ceph.git mon/PaxosService: remove unused exists_version() variant Signed-off-by: Sage Weil --- diff --git a/src/mon/PaxosService.h b/src/mon/PaxosService.h index 73a7bb56efa6..2e1745ef56cb 100644 --- a/src/mon/PaxosService.h +++ b/src/mon/PaxosService.h @@ -1023,16 +1023,6 @@ public: return exists_key(key); } - /** - * Checks if a given version @v exists - * - * @param prefix key's prefix - * @param v key's suffix - * @returns true if key exists; false otherwise. - */ - bool exists_version(const string& prefix, const version_t v) { - return exists_key(prefix, stringify(v)); - } /** * @} */