summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_hostcache.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-07-16 21:13:04 +0000
committerrwatson <rwatson@FreeBSD.org>2009-07-16 21:13:04 +0000
commit88f8de4d4001c74946458579ca0710df70161c90 (patch)
tree55b9efd9d8e3a027a51c2539777939228ae3532b /sys/netinet/tcp_hostcache.c
parentbfbc302bca72638c26907b5b0ee204eab992fdde (diff)
downloadFreeBSD-src-88f8de4d4001c74946458579ca0710df70161c90.zip
FreeBSD-src-88f8de4d4001c74946458579ca0710df70161c90.tar.gz
Remove unused VNET_SET() and related macros; only VNET_GET() is
ever actually used. Rename VNET_GET() to VNET() to shorten variable references. Discussed with: bz, julian Reviewed by: bz Approved by: re (kensmith, kib)
Diffstat (limited to 'sys/netinet/tcp_hostcache.c')
-rw-r--r--sys/netinet/tcp_hostcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_hostcache.c b/sys/netinet/tcp_hostcache.c
index e7bf0d1..2d3d922 100644
--- a/sys/netinet/tcp_hostcache.c
+++ b/sys/netinet/tcp_hostcache.c
@@ -109,8 +109,8 @@ __FBSDID("$FreeBSD$");
static VNET_DEFINE(struct tcp_hostcache, tcp_hostcache);
static VNET_DEFINE(struct callout, tcp_hc_callout);
-#define V_tcp_hostcache VNET_GET(tcp_hostcache)
-#define V_tcp_hc_callout VNET_GET(tcp_hc_callout)
+#define V_tcp_hostcache VNET(tcp_hostcache)
+#define V_tcp_hc_callout VNET(tcp_hc_callout)
static struct hc_metrics *tcp_hc_lookup(struct in_conninfo *);
static struct hc_metrics *tcp_hc_insert(struct in_conninfo *);
OpenPOWER on IntegriCloud