]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PaxosService: remove unused exists_version() variant
authorSage Weil <sage@inktank.com>
Tue, 18 Jun 2013 00:08:55 +0000 (17:08 -0700)
committerSage Weil <sage@inktank.com>
Tue, 25 Jun 2013 04:07:25 +0000 (21:07 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/PaxosService.h

index 73a7bb56efa65e10a1a1349fb40de46fc689df45..2e1745ef56cb6695e8b9d53de73c7a196c12302c 100644 (file)
@@ -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));
-  }
   /**
    * @}
    */