]> granicus.if.org Git - sysstat/commitdiff
HZ value is no longer needed in several sysstat commands
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 21 Oct 2017 14:45:09 +0000 (16:45 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 21 Oct 2017 14:45:09 +0000 (16:45 +0200)
So don't pick up its value.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
cifsiostat.c
iostat.c
sadf.c
sar.c
tapestat.c

index 7d2a5cc6eaa1d9207beb1c40483e12920920c541..c745f39f928357208f96ed4391e3c94da5c1e429 100644 (file)
@@ -589,9 +589,6 @@ int main(int argc, char **argv)
        /* Init color strings */
        init_colors();
 
-       /* Get HZ */
-       get_HZ();
-
        /* Process args... */
        while (opt < argc) {
 
index 36e93b5a61f2981a1827a4098c208613c4a42b0a..929c2410c3530feb5c35d4432783944b82417303 100644 (file)
--- a/iostat.c
+++ b/iostat.c
@@ -1725,9 +1725,6 @@ int main(int argc, char **argv)
        /* Init color strings */
        init_colors();
 
-       /* Get HZ */
-       get_HZ();
-
        /* Allocate structures for device list */
        if (argc > 1) {
                salloc_dev_list(argc - 1 + count_csvalues(argc, argv));
diff --git a/sadf.c b/sadf.c
index dde03115a6e6908013db2aad782fa70c27b0e971..ce84a637461521352bb6252cf08b64b867cadd58 100644 (file)
--- a/sadf.c
+++ b/sadf.c
@@ -1472,9 +1472,6 @@ int main(int argc, char **argv)
        char dfile[MAX_FILE_LEN];
        char *t, *v;
 
-       /* Get HZ */
-       get_HZ();
-
        /* Compute page shift in kB */
        get_kb_shift();
 
diff --git a/sar.c b/sar.c
index d1dce7f2d5e596092ed3bfeb3eb7ab1f56d2024f..2c92c3e380f3d3e8d438b947b72eb220f0aa3128 100644 (file)
--- a/sar.c
+++ b/sar.c
@@ -1164,9 +1164,6 @@ int main(int argc, char **argv)
        char from_file[MAX_FILE_LEN], to_file[MAX_FILE_LEN];
        char ltemp[20];
 
-       /* Get HZ */
-       get_HZ();
-
        /* Compute page shift in kB */
        get_kb_shift();
 
index a6efb56dcfeb581893f8b3188b09bb826285f519..13aa2dbf162bbcb628fa904e5f58677b94e75c14 100644 (file)
@@ -611,9 +611,6 @@ int main(int argc, char **argv)
        /* Init color strings */
        init_colors();
 
-       /* Get HZ */
-       get_HZ();
-
        /* Process args... */
        while (opt < argc) {