summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_rmx.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/in_rmx.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/in_rmx.c')
-rw-r--r--sys/netinet/in_rmx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c
index d391871..2ef4ed6 100644
--- a/sys/netinet/in_rmx.c
+++ b/sys/netinet/in_rmx.c
@@ -135,9 +135,9 @@ static VNET_DEFINE(int, rtq_reallyold);
static VNET_DEFINE(int, rtq_minreallyold);
static VNET_DEFINE(int, rtq_toomany);
-#define V_rtq_reallyold VNET_GET(rtq_reallyold)
-#define V_rtq_minreallyold VNET_GET(rtq_minreallyold)
-#define V_rtq_toomany VNET_GET(rtq_toomany)
+#define V_rtq_reallyold VNET(rtq_reallyold)
+#define V_rtq_minreallyold VNET(rtq_minreallyold)
+#define V_rtq_toomany VNET(rtq_toomany)
SYSCTL_VNET_INT(_net_inet_ip, IPCTL_RTEXPIRE, rtexpire, CTLFLAG_RW,
&VNET_NAME(rtq_reallyold), 0,
@@ -242,8 +242,8 @@ in_rtqkill(struct radix_node *rn, void *rock)
static VNET_DEFINE(int, rtq_timeout);
static VNET_DEFINE(struct callout, rtq_timer);
-#define V_rtq_timeout VNET_GET(rtq_timeout)
-#define V_rtq_timer VNET_GET(rtq_timer)
+#define V_rtq_timeout VNET(rtq_timeout)
+#define V_rtq_timer VNET(rtq_timer)
static void in_rtqtimo_one(void *rock);
OpenPOWER on IntegriCloud