]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/buffer: drop unused fields
authorSage Weil <sage@inktank.com>
Thu, 17 Oct 2013 23:36:20 +0000 (16:36 -0700)
committerSage Weil <sage@inktank.com>
Thu, 17 Oct 2013 23:36:20 +0000 (16:36 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/common/buffer.cc

index 4aa03ae413173cec222b980ba919c95fa9d8f96f..d4589653d428fd54fa401c7440d184972142661e 100644 (file)
@@ -78,12 +78,10 @@ static uint32_t simple_spinlock_t buffer_debug_lock = SIMPLE_SPINLOCK_INITIALIZE
 
     Spinlock crc_lock;
     map<pair<off_t, off_t>, pair<int64_t, int64_t> > 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() {};