From: Carl Hakan Engvall Date: Fri, 15 Sep 2023 02:28:45 +0000 (-0400) Subject: Removed extra call to swap_submit_usage. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=284f51b21755693cb7cf927f002b26304fad7973;p=thirdparty%2Fcollectd.git Removed extra call to swap_submit_usage. --- diff --git a/src/swap.c b/src/swap.c index b52e40d51..979d265ed 100644 --- a/src/swap.c +++ b/src/swap.c @@ -656,7 +656,6 @@ static int swap_read(void) /* {{{ */ return -1; } - swap_submit_usage(NULL, used, total - used, NULL, NAN); /* If the "separate" option was specified (report_by_device == 1), all * values have already been dispatched from within the loop. */ if (!report_by_device)