diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2009-07-16 21:13:04 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2009-07-16 21:13:04 +0000 |
commit | 1e77c1056af387b57cc979d9b6e04107ffc94594 (patch) | |
tree | 55b9efd9d8e3a027a51c2539777939228ae3532b /sys/netinet/tcp_hostcache.c | |
parent | 10dc5fab2e8336e49d70afa79e814f2197abf0fe (diff) | |
download | src-1e77c1056af387b57cc979d9b6e04107ffc94594.tar.gz src-1e77c1056af387b57cc979d9b6e04107ffc94594.zip |
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)
Notes
Notes:
svn path=/head/; revision=195727
Diffstat (limited to 'sys/netinet/tcp_hostcache.c')
-rw-r--r-- | sys/netinet/tcp_hostcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_hostcache.c b/sys/netinet/tcp_hostcache.c index e7bf0d1ec9cd..2d3d92290f2f 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 *); |