]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: drop unnecessary stringify
authorSage Weil <sage@redhat.com>
Fri, 16 Jan 2015 21:22:48 +0000 (13:22 -0800)
committerSage Weil <sage@redhat.com>
Sun, 18 Jan 2015 01:14:48 +0000 (17:14 -0800)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc

index 921b248c8a13971c5b29577d1321c1d750187920..507ae1485db534b42795826ae48882477eb827cf 100644 (file)
@@ -743,13 +743,13 @@ protected:
                         int64_t kb, int64_t kb_used, int64_t kb_avail,
                         double& util, double& var, TextTable *tbl) {
     *tbl << qi.id
-        << stringify(weightf_t(qi.weight))
-        << stringify(weightf_t(reweight))
-        << stringify(si_t(kb << 10))
-        << stringify(si_t(kb_used << 10))
-        << stringify(si_t(kb_avail << 10))
-        << stringify(lowprecision_t(util))
-        << stringify(lowprecision_t(var));
+        << weightf_t(qi.weight)
+        << weightf_t(reweight)
+        << si_t(kb << 10)
+        << si_t(kb_used << 10)
+        << si_t(kb_avail << 10)
+        << lowprecision_t(util)
+        << lowprecision_t(var);
 
     if (tree) {
       ostringstream name;