ip: remove dead code
Remove long dead code (in #if 0) from original iproute2 for numeric names. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
a8beadb5f6
commit
6bfa7a6b0e
4
ip/ip.c
4
ip/ip.c
|
|
@ -240,10 +240,6 @@ int main(int argc, char **argv)
|
||||||
} else if (matches(opt, "-tshort") == 0) {
|
} else if (matches(opt, "-tshort") == 0) {
|
||||||
++timestamp;
|
++timestamp;
|
||||||
++timestamp_short;
|
++timestamp_short;
|
||||||
#if 0
|
|
||||||
} else if (matches(opt, "-numeric") == 0) {
|
|
||||||
rtnl_names_numeric++;
|
|
||||||
#endif
|
|
||||||
} else if (matches(opt, "-Version") == 0) {
|
} else if (matches(opt, "-Version") == 0) {
|
||||||
printf("ip utility, iproute2-ss%s\n", SNAPSHOT);
|
printf("ip utility, iproute2-ss%s\n", SNAPSHOT);
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue