Skip to content

Commit

Permalink
Merge pull request #15121 from ivancich/wip-remove-an-unnecessary-loop
Browse files Browse the repository at this point in the history
osd/pglog: remove loop through empty collection

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
  • Loading branch information
liewegas committed May 18, 2017
2 parents 1a8ab08 + 2f96956 commit 4b0aa08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/osd/osd_types.h
Expand Up @@ -3666,8 +3666,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 4b0aa08

Please sign in to comment.