From: xie xingguo Date: Sat, 4 Jun 2016 03:25:38 +0000 (+0800) Subject: bluestore/BitAllocator: remove duplicated of initialization X-Git-Tag: v11.0.0~285^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1d7e30e427b4214039cfb4f2f17a9f26ac5296d5;p=ceph.git bluestore/BitAllocator: remove duplicated of initialization Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BitAllocator.cc b/src/os/bluestore/BitAllocator.cc index 2184963588bb..b52fc049c140 100644 --- a/src/os/bluestore/BitAllocator.cc +++ b/src/os/bluestore/BitAllocator.cc @@ -617,9 +617,6 @@ int64_t BitMapZone::alloc_blocks_dis(int64_t num_blocks, int64_t zone_blk_off, i debug_assert(check_locked()); - bmap_idx = 0; - bit = 0; - BitMapEntityIter iter = BitMapEntityIter( m_bmap_list, bmap_idx); while ((bmap = (BmapEntry *) iter.next())) {