]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: remove dead code
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 21 Feb 2018 00:01:46 +0000 (16:01 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 21 Feb 2018 00:01:46 +0000 (16:01 -0800)
Remove long dead code (in #if 0) from original iproute2
for numeric names.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ip.c

diff --git a/ip/ip.c b/ip/ip.c
index b15e6b66b3f6688fd31cb5b9260a91060e531459..ee0d6346b275e8aea3ebad68e90b78c321d712f4 100644 (file)
--- 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);