From: Josh Durgin Date: Thu, 17 Oct 2013 23:34:55 +0000 (-0700) Subject: buffer: remove unused raw::length() method X-Git-Tag: v0.74~65^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b8518fea03af9c9873e87d715d1a5d4bb649410e;p=ceph.git buffer: remove unused raw::length() method This was accidentally introduced in 0c23a5624a80903fba7e635e8c44f38a79caf223 Signed-off-by: Josh Durgin --- diff --git a/src/common/buffer.cc b/src/common/buffer.cc index 9dd98310d97e..2fdb2cab1915 100644 --- a/src/common/buffer.cc +++ b/src/common/buffer.cc @@ -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; }