From cda6699b76fbf99f1144ecb640d362ac18030ec3 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 12 Jan 2019 06:08:46 -0600 Subject: [PATCH] common/numa: remove stray debug output Signed-off-by: Sage Weil --- src/common/numa.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/numa.cc b/src/common/numa.cc index edf6861191951..9ec29fa95f228 100644 --- a/src/common/numa.cc +++ b/src/common/numa.cc @@ -111,16 +111,13 @@ int get_numa_node_cpu_set( std::string fn = "/sys/devices/system/node/node"; fn += stringify(node); fn += "/cpulist"; - std::cout << __func__ << " fn " << fn << std::endl; int fd = ::open(fn.c_str(), O_RDONLY); if (fd < 0) { - std::cout << __func__ << " fail to open " << errno << std::endl; return -errno; } char buf[1024]; int r = safe_read(fd, &buf, sizeof(buf)); if (r < 0) { - std::cout << __func__ << " fail to read " << errno << std::endl; goto out; } buf[r] = 0; @@ -129,7 +126,6 @@ int get_numa_node_cpu_set( } r = parse_cpu_set_list(buf, cpu_set_size, cpu_set); if (r < 0) { - std::cout << __func__ << " fail to parse " << r << std::endl; goto out; } r = 0; -- 2.39.5