From 11c0d64e994903b491663a81cb18fa65aa07bbcd Mon Sep 17 00:00:00 2001 From: Jie Wang Date: Fri, 24 Feb 2017 01:31:46 +0000 Subject: [PATCH] BitAllocator: delete useless codes Signed-off-by: Jie Wang --- src/os/bluestore/BitAllocator.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/os/bluestore/BitAllocator.h b/src/os/bluestore/BitAllocator.h index 2ce6b3c70adad..cd285c56912bd 100644 --- a/src/os/bluestore/BitAllocator.h +++ b/src/os/bluestore/BitAllocator.h @@ -163,8 +163,7 @@ public: } BmapEntry(const BmapEntry& bmap) { cct = bmap.cct; - bmap_t i = bmap.m_bits; - m_bits = i; + m_bits = bmap.m_bits; } void clear_bit(int bit); -- 2.47.3