at v206 27 lines 898 B view raw
1From e7b196a4a091c0ea258866559ba06e7ed0cc4247 Mon Sep 17 00:00:00 2001 2From: Kefu Chai <kchai@redhat.com> 3Date: Fri, 8 May 2015 15:21:20 +0800 4Subject: [PATCH] mon: remove unused variable 5 6* as a side effect, this change silences 7 http://tracker.ceph.com/issues/11576 8 9Fixes: #11576 10Signed-off-by: Kefu Chai <kchai@redhat.com> 11--- 12 src/mon/OSDMonitor.cc | 2 -- 13 1 file changed, 2 deletions(-) 14 15diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc 16index 73dcd5f..7caaa45 100644 17--- a/src/mon/OSDMonitor.cc 18+++ b/src/mon/OSDMonitor.cc 19@@ -3174,8 +3174,6 @@ bool OSDMonitor::preprocess_command(MMonCommand *m) 20 } else if (prefix == "osd crush get-tunable") { 21 string tunable; 22 cmd_getval(g_ceph_context, cmdmap, "tunable", tunable); 23- int value; 24- cmd_getval(g_ceph_context, cmdmap, "value", value); 25 ostringstream rss; 26 if (f) 27 f->open_object_section("tunable");