]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
src/swap.c: Importing changes from `main`.
authorFlorian Forster <octo@collectd.org>
Tue, 19 Dec 2023 08:51:56 +0000 (09:51 +0100)
committerFlorian Forster <octo@collectd.org>
Mon, 22 Jan 2024 20:22:04 +0000 (21:22 +0100)
Changes:
284f51b21755693cb7cf927f002b26304fad7973 Removed extra call to swap_submit_usage.

src/swap.c

index b52e40d51f5b63a2613914366cfa1a3bbf3d181b..979d265ed98ef20289b825709da8a47cdd73ef0b 100644 (file)
@@ -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)