Skip to content

Commit

Permalink
HZ value is no longer needed in several sysstat commands
Browse files Browse the repository at this point in the history
So don't pick up its value.

Signed-off-by: Sebastien GODARD <[email protected]>
  • Loading branch information
sysstat committed Oct 21, 2017
1 parent e63bca1 commit fb996d7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions cifsiostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,6 @@ int main(int argc, char **argv)
/* Init color strings */
init_colors();

/* Get HZ */
get_HZ();

/* Process args... */
while (opt < argc) {

Expand Down
3 changes: 0 additions & 3 deletions iostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
3 changes: 0 additions & 3 deletions sadf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
3 changes: 0 additions & 3 deletions sar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
3 changes: 0 additions & 3 deletions tapestat.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,6 @@ int main(int argc, char **argv)
/* Init color strings */
init_colors();

/* Get HZ */
get_HZ();

/* Process args... */
while (opt < argc) {

Expand Down

0 comments on commit fb996d7

Please sign in to comment.