]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_object_expirer_core.cc: remove left over unused variable
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 9 Sep 2015 14:45:55 +0000 (16:45 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 10 Sep 2015 17:29:21 +0000 (19:29 +0200)
Remove unused variable is_next_available and while loop. These
are leftovers from commit #a69a989f.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rgw/rgw_object_expirer_core.cc

index b092b40bc3945a0c207610cf1ad78a0a9051c44f..48577fe1967e76e26ba9f46b18fd8b562ab24c20 100644 (file)
@@ -181,7 +181,6 @@ void RGWObjectExpirer::process_single_shard(const string& shard,
 
 void RGWObjectExpirer::inspect_all_shards(const utime_t& last_run, const utime_t& round_start)
 {
-  bool is_next_available;
   utime_t shard_marker;
 
   CephContext *cct = store->ctx();
@@ -194,7 +193,7 @@ void RGWObjectExpirer::inspect_all_shards(const utime_t& last_run, const utime_t
     ldout(store->ctx(), 20) << "proceeding shard = " << shard << dendl;
 
     process_single_shard(shard, last_run, round_start);
-  } while (is_next_available);
+  }
 
   return;
 }