From 7723019c6b4044f945c4f8b72054b6c074c01093 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 17 May 2006 20:24:53 +0000 Subject: Patch from Bernhard Fischer to remove some useless bits. --- networking/libiproute/ipaddress.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'networking/libiproute/ipaddress.c') diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index bcb4880a6..a74250621 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c @@ -506,7 +506,6 @@ int ipaddr_list_or_flush(int argc, char **argv, int flush) } if (flush) { - int round = 0; char flushb[4096-512]; filter.flushb = flushb; @@ -525,14 +524,9 @@ int ipaddr_list_or_flush(int argc, char **argv, int flush) exit(1); } if (filter.flushed == 0) { -#if 0 - if (round == 0) - fprintf(stderr, "Nothing to flush.\n"); -#endif fflush(stdout); return 0; } - round++; if (flush_update() < 0) exit(1); } -- cgit v1.2.3