tools: remove unused variable in accounting/getdelays.c.
PATCH 1/1 tools: remove unused variable in accounting/getdelays.c.
This patch removes the definition and the single assignement of the "done" variable in accounting/getdelays.c, as it is not used anywhere.
Signed-off-by Rami Rosen <[email protected]>
--- tools/accounting/getdelays.c | 2 -- 1 file changed, 2 deletions(-)
tools/accounting/getdelays.c +0 -2
@@ -44,7 +44,6 @@exit (code); \ }while (0 ) -int done; int rcvbufsz;char name[100 ];int dbg;
@@ -476,7 +475,6 @@ int main(int argc, char *argv[]) len2 =0 ;/* For nested attributes, na follows */ na = (struct nlattr *)NLA_DATA (na); - done =0 ;while (len2 < aggr_len) {switch (na->nla_type) {case TASKSTATS_TYPE_PID :
Signature · 1 line
1.9.1