From: Bingyin Zhang Date: Sun, 7 Jan 2018 01:33:48 +0000 (+0800) Subject: rgw: drop useless lines X-Git-Tag: wip-pdonnell-testing-20180317.202121~607^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e0a05d23dc3ebce4e7af74589cd01cc81a1313e9;p=ceph-ci.git rgw: drop useless lines * There is no 'break' statement in the for loop, so 'eiter' must be equal to 'ent_map.end()' in this place. Signed-off-by: Bingyin Zhang --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index f55b9a84f68..c1b8bfad0a3 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -5697,10 +5697,6 @@ int RGWRados::Bucket::List::list_objects(int64_t max, result->emplace_back(std::move(entry)); count++; } - - // Either the back-end telling us truncated, or we don't consume all - // items returned per the amount caller request - truncated = (truncated || eiter != ent_map.end()); } done: