]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crush: CrushWrapper::trim_roots_with_class removed unused variable
authorLoic Dachary <ldachary@redhat.com>
Sun, 19 Mar 2017 12:27:47 +0000 (13:27 +0100)
committerLoic Dachary <ldachary@redhat.com>
Mon, 3 Apr 2017 08:35:56 +0000 (10:35 +0200)
Signed-off-by: Loic Dachary <loic@dachary.org>
src/crush/CrushWrapper.cc

index 8dd606f0d9d9b7695228501c7db0ba43c3d14d99..a460e9ff4f65d158192446c1f85c265831b94c4b 100644 (file)
@@ -1040,8 +1040,6 @@ int CrushWrapper::cleanup_classes()
 
 int CrushWrapper::trim_roots_with_class()
 {
-  set<int> takes;
-  find_takes(takes);
   set<int> roots;
   find_roots(roots);
   for (auto &r : roots) {