]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Removed extra call to swap_submit_usage.
authorCarl Hakan Engvall <hakan.engvall@gmail.com>
Fri, 15 Sep 2023 02:28:45 +0000 (22:28 -0400)
committerMatthias Runge <mrunge@matthias-runge.de>
Sat, 28 Oct 2023 17:09:24 +0000 (19:09 +0200)
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)