summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-10-10 08:51:53 -0700
committerSage Weil <sage@inktank.com>2013-10-10 10:40:10 -0700
commitf496e5714ddee2af291f0903d5d041fd02f8ef21 (patch)
treef1980f7f89499ed379f027eb1b76d62adc5b0dc6
parentaf08daafb435fdb20dc341c54dfbc1827a60b228 (diff)
downloadceph-f496e5714ddee2af291f0903d5d041fd02f8ef21.tar.gz
osdc/Objecter: drop redundant condition
We are inside an if (response_size) block. Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/osdc/Objecter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc
index 4da8fbaf4b2..3f057b662ce 100644
--- a/src/osdc/Objecter.cc
+++ b/src/osdc/Objecter.cc
@@ -1796,7 +1796,7 @@ void Objecter::_list_reply(ListContext *list_context, int r,
// 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
list_objects(list_context, final_finish);
return;