]> arthur.barton.de Git - netdata.git/commitdiff
Remove needless comments
authorVladimir Kobal <vlad@prokk.net>
Tue, 31 Jan 2017 19:20:11 +0000 (21:20 +0200)
committerVladimir Kobal <vlad@prokk.net>
Tue, 31 Jan 2017 19:20:11 +0000 (21:20 +0200)
src/plugin_freebsd.c
src/plugin_macos.c

index d6deb7090a69c7f2a426a9357d7e3fd8aa272d06..134d035b58f0af087870c4a005768a377135bdbf 100644 (file)
@@ -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);
index cf4f740266caf443a746648e41064fd3d307f073..54965c5d4ec92813750f0d00265b54e1458268b6 100644 (file)
@@ -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);