diff options
author | ru <ru@FreeBSD.org> | 2006-09-07 09:49:08 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-09-07 09:49:08 +0000 |
commit | 8f497b5c529716cb2391b174536027dc3d20b763 (patch) | |
tree | 6bc3d5e77bc7fddc0f30053154d0e36846e922f8 /sys/netinet/tcp_timer.c | |
parent | 36644cc6e9b98d1348384f2d2639464c510df51d (diff) | |
download | FreeBSD-src-8f497b5c529716cb2391b174536027dc3d20b763.zip FreeBSD-src-8f497b5c529716cb2391b174536027dc3d20b763.tar.gz |
Remove a microoptimization for i386 that was a micropessimization for amd64.
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r-- | sys/netinet/tcp_timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index ca0bd36..a5db5a0 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -241,7 +241,6 @@ struct twlist { }; #define TWLIST_NLISTS 2 static struct twlist twl_2msl[TWLIST_NLISTS]; -static struct twlist *tw_2msl_list[] = { &twl_2msl[0], &twl_2msl[1], NULL }; void tcp_timer_init(void) @@ -289,7 +288,7 @@ tcp_timer_2msl_tw(int reuse) INP_INFO_WLOCK_ASSERT(&tcbinfo); for (i = 0; i < TWLIST_NLISTS; i++) { - twl = tw_2msl_list[i]; + twl = &twl_2msl[i]; tw_tail = &twl->tw_tail; for (;;) { |