From: Vladimir Kobal Date: Tue, 31 Jan 2017 19:20:11 +0000 (+0200) Subject: Remove needless comments X-Git-Tag: ab-debian_0.20170201.01-0ab1~6^2~2 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netdata.git;a=commitdiff_plain;h=299e3cc11db21e13a7bb3dbb138c36ac2dd2d51e;ds=sidebyside Remove needless comments --- 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);