Skip to content

Commit d49b261

Browse files
authored
Merge pull request ceph#55037 from ronen-fr/wip-rf-crush-dummy
test/crush: removed unused code Reviewed-by: Laura Flores <[email protected]>
2 parents 22715d4 + 3a8bff8 commit d49b261

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/test/crush/crush.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,6 @@ TEST_F(CRUSHTest, indep_out_progressive) {
219219
c->do_rule(0, x, out, 7, weight, 0);
220220
cout << "(" << i << "/" << weight.size() << " out) "
221221
<< x << " -> " << out << std::endl;
222-
int num_none = 0;
223-
for (unsigned k=0; k<out.size(); ++k) {
224-
if (out[k] == CRUSH_ITEM_NONE)
225-
num_none++;
226-
}
227222
ASSERT_EQ(0, get_num_dups(out));
228223

229224
// make sure nothing moved

0 commit comments

Comments
 (0)