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/net/if_gif.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/net/if_gif.c')
-rw-r--r-- | sys/net/if_gif.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index e96cb41..f663283 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -99,17 +99,17 @@ static VNET_DEFINE(LIST_HEAD(, gif_softc), gif_softc_list); static VNET_DEFINE(int, max_gif_nesting); static VNET_DEFINE(int, parallel_tunnels); -#define V_gif_softc_list VNET_GET(gif_softc_list) -#define V_max_gif_nesting VNET_GET(max_gif_nesting) -#define V_parallel_tunnels VNET_GET(parallel_tunnels) +#define V_gif_softc_list VNET(gif_softc_list) +#define V_max_gif_nesting VNET(max_gif_nesting) +#define V_parallel_tunnels VNET(parallel_tunnels) #ifdef INET VNET_DEFINE(int, ip_gif_ttl); -#define V_ip_gif_ttl VNET_GET(ip_gif_ttl) +#define V_ip_gif_ttl VNET(ip_gif_ttl) #endif #ifdef INET6 VNET_DEFINE(int, ip6_gif_hlim); -#define V_ip6_gif_hlim VNET_GET(ip6_gif_hlim) +#define V_ip6_gif_hlim VNET(ip6_gif_hlim) #endif void (*ng_gif_input_p)(struct ifnet *ifp, struct mbuf **mp, int af); |