diff options
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r-- | networking/libiproute/ipaddress.c | 6 |
1 files changed, 0 insertions, 6 deletions
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) | |||
506 | } | 506 | } |
507 | 507 | ||
508 | if (flush) { | 508 | if (flush) { |
509 | int round = 0; | ||
510 | char flushb[4096-512]; | 509 | char flushb[4096-512]; |
511 | 510 | ||
512 | filter.flushb = flushb; | 511 | filter.flushb = flushb; |
@@ -525,14 +524,9 @@ int ipaddr_list_or_flush(int argc, char **argv, int flush) | |||
525 | exit(1); | 524 | exit(1); |
526 | } | 525 | } |
527 | if (filter.flushed == 0) { | 526 | if (filter.flushed == 0) { |
528 | #if 0 | ||
529 | if (round == 0) | ||
530 | fprintf(stderr, "Nothing to flush.\n"); | ||
531 | #endif | ||
532 | fflush(stdout); | 527 | fflush(stdout); |
533 | return 0; | 528 | return 0; |
534 | } | 529 | } |
535 | round++; | ||
536 | if (flush_update() < 0) | 530 | if (flush_update() < 0) |
537 | exit(1); | 531 | exit(1); |
538 | } | 532 | } |