diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-07-16 21:13:04 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-07-16 21:13:04 +0000 |
commit | 88f8de4d4001c74946458579ca0710df70161c90 (patch) | |
tree | 55b9efd9d8e3a027a51c2539777939228ae3532b /sys/netgraph/ng_iface.c | |
parent | bfbc302bca72638c26907b5b0ee204eab992fdde (diff) | |
download | FreeBSD-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/netgraph/ng_iface.c')
-rw-r--r-- | sys/netgraph/ng_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c index 7743b2b..6ed1daf6 100644 --- a/sys/netgraph/ng_iface.c +++ b/sys/netgraph/ng_iface.c @@ -213,7 +213,7 @@ static vnet_attach_fn ng_iface_iattach; static vnet_detach_fn ng_iface_idetach; static VNET_DEFINE(struct unrhdr *, ng_iface_unit); -#define V_ng_iface_unit VNET_GET(ng_iface_unit) +#define V_ng_iface_unit VNET(ng_iface_unit) #ifdef VIMAGE static vnet_modinfo_t vnet_ng_iface_modinfo = { |