Skip to content

Commit

Permalink
osd/pglog: Remove loop through empty collection.
Browse files Browse the repository at this point in the history
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
  • Loading branch information
ivancich committed May 16, 2017
1 parent 6b86362 commit 2f96956
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/osd/osd_types.h
Expand Up @@ -3652,8 +3652,6 @@ class pg_missing_set : public pg_missing_const_i {

template <typename missing_type>
pg_missing_set(const missing_type &m) {
for (auto &&i: missing)
tracker.changed(i.first);
missing = m.get_items();
rmissing = m.get_rmissing();
for (auto &&i: missing)
Expand Down

0 comments on commit 2f96956

Please sign in to comment.