diff options
author | Rami Rosen <ramirose@gmail.com> | 2008-01-31 19:42:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:28:22 -0500 |
commit | 9fe7c712fc955565c32e2f899d4ffeceaf028398 (patch) | |
tree | da2854388f4550fd32eac920c759ca5e67e72bdd /net/core | |
parent | 23717795bee15470b96f9b7aa5ecf4efe14c8e32 (diff) |
[PKTGEN]: Remove an unused definition in pktgen.c.
- Remove an unused definition (LAT_BUCKETS_MAX) in net/core/pktgen.c.
- Remove the corresponding comment.
- The LAT_BUCKETS_MAX seems to have to do with a patch from a long
time ago which was not applied (Ben Greear), which dealt with latency
counters.
See, for example : http://oss.sgi.com/archives/netdev/2002-09/msg00184.html
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/pktgen.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index eebccdbdbaca..b7f2de19765d 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -170,8 +170,6 @@ | |||
170 | 170 | ||
171 | #define VERSION "pktgen v2.69: Packet Generator for packet performance testing.\n" | 171 | #define VERSION "pktgen v2.69: Packet Generator for packet performance testing.\n" |
172 | 172 | ||
173 | /* The buckets are exponential in 'width' */ | ||
174 | #define LAT_BUCKETS_MAX 32 | ||
175 | #define IP_NAME_SZ 32 | 173 | #define IP_NAME_SZ 32 |
176 | #define MAX_MPLS_LABELS 16 /* This is the max label stack depth */ | 174 | #define MAX_MPLS_LABELS 16 /* This is the max label stack depth */ |
177 | #define MPLS_STACK_BOTTOM htonl(0x00000100) | 175 | #define MPLS_STACK_BOTTOM htonl(0x00000100) |