]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osdc/Objecter: drop redundant condition
authorSage Weil <sage@inktank.com>
Thu, 10 Oct 2013 15:51:53 +0000 (08:51 -0700)
committerSage Weil <sage@inktank.com>
Fri, 6 Dec 2013 22:36:34 +0000 (14:36 -0800)
We are inside an if (response_size) block.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osdc/Objecter.cc

index d2c574d982e1eed85476d25f89b15f29a261d12a..f5dcd4b8ae541145402cdff3c6cc06432a7fa306 100644 (file)
@@ -1807,7 +1807,7 @@ void Objecter::_list_reply(ListContext *list_context, int r, bufferlist *bl,
 
     // if the osd returns 1 (newer code), or no entries, it means we
     // hit the end of the pg.
-    if (r == 0 && response_size > 0) {
+    if (r == 0) {
       // not yet done with this pg
       delete bl;
       list_objects(list_context, final_finish);