Skip to content

Commit

Permalink
buffer: remove unused raw::length() method
Browse files Browse the repository at this point in the history
This was accidentally introduced in
0c23a56

Signed-off-by: Josh Durgin <[email protected]>
  • Loading branch information
jdurgin committed Nov 23, 2013
1 parent ebb261f commit b8518fe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/common/buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b8518fe

Please sign in to comment.