]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
erasure: Remove unused variable
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 8 Nov 2016 16:26:32 +0000 (11:26 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 17 Nov 2016 00:54:31 +0000 (19:54 -0500)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/osd/ECBackend.cc

index 1bb865b0801b98dfae7557ea723bdedda0e929a6..1a8cd3776b3c4af48196c05460c06b1993a73adc 100644 (file)
@@ -1529,9 +1529,6 @@ int ECBackend::get_remaining_shards(
   const set<int> &avail,
   set<pg_shard_t> *to_read)
 {
-  map<hobject_t, set<pg_shard_t> >::const_iterator miter =
-    get_parent()->get_missing_loc_shards().find(hoid);
-
   set<int> need;
   map<shard_id_t, pg_shard_t> shards;