From 299e3cc11db21e13a7bb3dbb138c36ac2dd2d51e Mon Sep 17 00:00:00 2001 From: Vladimir Kobal Date: Tue, 31 Jan 2017 21:20:11 +0200 Subject: [PATCH] Remove needless comments --- src/plugin_freebsd.c | 6 ------ src/plugin_macos.c | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/plugin_freebsd.c b/src/plugin_freebsd.c index d6deb709..134d035b 100644 --- a/src/plugin_freebsd.c +++ b/src/plugin_freebsd.c @@ -11,12 +11,6 @@ void *freebsd_main(void *ptr) { if(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL) != 0) error("Cannot set pthread cancel state to ENABLE."); - // disable (by default) various interface that are not needed - /* - config_get_boolean("plugin:proc:/proc/net/dev:lo", "enabled", 0); - config_get_boolean("plugin:proc:/proc/net/dev:fireqos_monitor", "enabled", 0); - */ - // when ZERO, attempt to do it int vdo_cpu_netdata = !config_get_boolean("plugin:freebsd", "netdata server resources", 1); int vdo_freebsd_sysctl = !config_get_boolean("plugin:freebsd", "sysctl", 1); diff --git a/src/plugin_macos.c b/src/plugin_macos.c index cf4f7402..54965c5d 100644 --- a/src/plugin_macos.c +++ b/src/plugin_macos.c @@ -11,12 +11,6 @@ void *macos_main(void *ptr) { if(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL) != 0) error("Cannot set pthread cancel state to ENABLE."); - // disable (by default) various interface that are not needed - /* - config_get_boolean("plugin:proc:/proc/net/dev:lo", "enabled", 0); - config_get_boolean("plugin:proc:/proc/net/dev:fireqos_monitor", "enabled", 0); - */ - // when ZERO, attempt to do it int vdo_cpu_netdata = !config_get_boolean("plugin:macos", "netdata server resources", 1); int vdo_macos_sysctl = !config_get_boolean("plugin:macos", "sysctl", 1); -- 2.39.2