File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 4545 exit(code); \
4646 } while (0)
4747
48- int done ;
4948int rcvbufsz ;
5049char name [100 ];
5150int dbg ;
@@ -285,7 +284,6 @@ int main(int argc, char *argv[])
285284 pid_t rtid = 0 ;
286285
287286 int fd = 0 ;
288- int count = 0 ;
289287 int write_file = 0 ;
290288 int maskset = 0 ;
291289 char * logfile = NULL ;
@@ -495,7 +493,6 @@ int main(int argc, char *argv[])
495493 len2 = 0 ;
496494 /* For nested attributes, na follows */
497495 na = (struct nlattr * ) NLA_DATA (na );
498- done = 0 ;
499496 while (len2 < aggr_len ) {
500497 switch (na -> nla_type ) {
501498 case TASKSTATS_TYPE_PID :
@@ -509,7 +506,6 @@ int main(int argc, char *argv[])
509506 printf ("TGID\t%d\n" , rtid );
510507 break ;
511508 case TASKSTATS_TYPE_STATS :
512- count ++ ;
513509 if (print_delays )
514510 print_delayacct ((struct taskstats * ) NLA_DATA (na ));
515511 if (print_io_accounting )
You can’t perform that action at this time.
0 commit comments