From: Loic Dachary Date: Sun, 19 Mar 2017 12:27:47 +0000 (+0100) Subject: crush: CrushWrapper::trim_roots_with_class removed unused variable X-Git-Tag: v12.0.2~126^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b7c9f788d89c15f74952fc8e05d36b143eaf9865;p=ceph.git crush: CrushWrapper::trim_roots_with_class removed unused variable Signed-off-by: Loic Dachary --- diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index 8dd606f0d9d9..a460e9ff4f65 100644 --- a/src/crush/CrushWrapper.cc +++ b/src/crush/CrushWrapper.cc @@ -1040,8 +1040,6 @@ int CrushWrapper::cleanup_classes() int CrushWrapper::trim_roots_with_class() { - set takes; - find_takes(takes); set roots; find_roots(roots); for (auto &r : roots) {