From 6bfa7a6b0ec28b75274dc270e0f5a6eaf147e557 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 20 Feb 2018 16:01:46 -0800 Subject: [PATCH] ip: remove dead code Remove long dead code (in #if 0) from original iproute2 for numeric names. Signed-off-by: Stephen Hemminger --- ip/ip.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ip/ip.c b/ip/ip.c index b15e6b66..ee0d6346 100644 --- a/ip/ip.c +++ b/ip/ip.c @@ -240,10 +240,6 @@ int main(int argc, char **argv) } else if (matches(opt, "-tshort") == 0) { ++timestamp; ++timestamp_short; -#if 0 - } else if (matches(opt, "-numeric") == 0) { - rtnl_names_numeric++; -#endif } else if (matches(opt, "-Version") == 0) { printf("ip utility, iproute2-ss%s\n", SNAPSHOT); exit(0);