@cryptotaxi247 / netdata-1 / commits / 299e3cc11

Remove needless comments

Vladimir Kobal committed Jan 31, 2017 at 21:20 UTC 299e3cc11db21e13a7bb3dbb138c36ac2dd2d51e
2 files changed -12
src/plugin_freebsd.c
-6
@@ -11,12 +11,6 @@ void *freebsd_main(void *ptr) {
11 if(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL) != 0)
12 error("Cannot set pthread cancel state to ENABLE.");
13
14 - // disable (by default) various interface that are not needed
15 - /*
16 - config_get_boolean("plugin:proc:/proc/net/dev:lo", "enabled", 0);
17 - config_get_boolean("plugin:proc:/proc/net/dev:fireqos_monitor", "enabled", 0);
18 - */
19 -
14 // when ZERO, attempt to do it
15 int vdo_cpu_netdata = !config_get_boolean("plugin:freebsd", "netdata server resources", 1);
16 int vdo_freebsd_sysctl = !config_get_boolean("plugin:freebsd", "sysctl", 1);
src/plugin_macos.c
-6
@@ -11,12 +11,6 @@ void *macos_main(void *ptr) {
11 if(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL) != 0)
12 error("Cannot set pthread cancel state to ENABLE.");
13
14 - // disable (by default) various interface that are not needed
15 - /*
16 - config_get_boolean("plugin:proc:/proc/net/dev:lo", "enabled", 0);
17 - config_get_boolean("plugin:proc:/proc/net/dev:fireqos_monitor", "enabled", 0);
18 - */
19 -
14 // when ZERO, attempt to do it
15 int vdo_cpu_netdata = !config_get_boolean("plugin:macos", "netdata server resources", 1);
16 int vdo_macos_sysctl = !config_get_boolean("plugin:macos", "sysctl", 1);