From: Sage Weil Date: Thu, 17 Oct 2013 23:36:20 +0000 (-0700) Subject: common/buffer: drop unused fields X-Git-Tag: v0.72-rc1~33^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=394ec17540a683349f3a28b43b689d6eef6c4b90;p=ceph.git common/buffer: drop unused fields Signed-off-by: Sage Weil --- diff --git a/src/common/buffer.cc b/src/common/buffer.cc index 4aa03ae41317..d4589653d428 100644 --- a/src/common/buffer.cc +++ b/src/common/buffer.cc @@ -78,12 +78,10 @@ static uint32_t simple_spinlock_t buffer_debug_lock = SIMPLE_SPINLOCK_INITIALIZE Spinlock crc_lock; map, pair > crc_map; - int64_t crc_in; ///< cached crc base; -1 if invalid - int64_t crc_out; ///< cached crc value; -1 if invalid - raw(unsigned l) : data(NULL), len(l), nref(0), crc_in(-1), crc_out(-1) + raw(unsigned l) : data(NULL), len(l), nref(0) { } - raw(char *c, unsigned l) : data(c), len(l), nref(0), crc_in(-1), crc_out(-1) + raw(char *c, unsigned l) : data(c), len(l), nref(0) { } virtual ~raw() {};