From: Sage Weil Date: Thu, 10 Oct 2013 15:51:53 +0000 (-0700) Subject: osdc/Objecter: drop redundant condition X-Git-Tag: v0.75~98^2~61 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9381b6937892822448ad069eda355de59102376b;p=ceph.git osdc/Objecter: drop redundant condition We are inside an if (response_size) block. Signed-off-by: Sage Weil --- diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index d2c574d982e1..f5dcd4b8ae54 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -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);