From: Sebastien GODARD Date: Sat, 21 Oct 2017 14:45:09 +0000 (+0200) Subject: HZ value is no longer needed in several sysstat commands X-Git-Tag: v11.7.1~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb996d7437dcc3a6813e533e76184730d6e3c537;p=sysstat HZ value is no longer needed in several sysstat commands So don't pick up its value. Signed-off-by: Sebastien GODARD --- diff --git a/cifsiostat.c b/cifsiostat.c index 7d2a5cc..c745f39 100644 --- a/cifsiostat.c +++ b/cifsiostat.c @@ -589,9 +589,6 @@ int main(int argc, char **argv) /* Init color strings */ init_colors(); - /* Get HZ */ - get_HZ(); - /* Process args... */ while (opt < argc) { diff --git a/iostat.c b/iostat.c index 36e93b5..929c241 100644 --- 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 dde0311..ce84a63 100644 --- 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 d1dce7f..2c92c3e 100644 --- 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(); diff --git a/tapestat.c b/tapestat.c index a6efb56..13aa2db 100644 --- a/tapestat.c +++ b/tapestat.c @@ -611,9 +611,6 @@ int main(int argc, char **argv) /* Init color strings */ init_colors(); - /* Get HZ */ - get_HZ(); - /* Process args... */ while (opt < argc) {