]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
buffer: remove unused raw::length() method
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 17 Oct 2013 23:34:55 +0000 (16:34 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Sat, 23 Nov 2013 00:13:36 +0000 (16:13 -0800)
This was accidentally introduced in
0c23a5624a80903fba7e635e8c44f38a79caf223

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/common/buffer.cc

index 9dd98310d97ea0781ce324832b88b7143eea19e1..2fdb2cab1915294c638cf064870f0822095949c2 100644 (file)
@@ -98,11 +98,6 @@ static uint32_t simple_spinlock_t buffer_debug_lock = SIMPLE_SPINLOCK_INITIALIZE
       memcpy(c->data, data, len);
       return c;
     }
-
-    unsigned length() const {
-      return len;
-    }
-
     virtual bool is_page_aligned() {
       return ((long)data & ~CEPH_PAGE_MASK) == 0;
     }