summaryrefslogtreecommitdiffstats
path: root/src/crush/CrushTester.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/crush/CrushTester.cc')
-rw-r--r--src/crush/CrushTester.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/crush/CrushTester.cc b/src/crush/CrushTester.cc
index 4f99cffaaa9..1d659e6a56b 100644
--- a/src/crush/CrushTester.cc
+++ b/src/crush/CrushTester.cc
@@ -474,12 +474,6 @@ int CrushTester::test(CephContext* cct)
// make adjustments
adjust_weights(weight);
-
- int num_devices_active = 0;
- for (vector<__u32>::iterator p = weight.begin(); p != weight.end(); ++p)
- if (*p > 0)
- num_devices_active++;
-
if (output_choose_tries)
crush.start_choose_profile();