]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Remove VNET_SYSCTL_ARG(). The generic sysctl(9) code handles that.
authorglebius <glebius@FreeBSD.org>
Fri, 7 Nov 2014 08:58:05 +0000 (08:58 +0000)
committerglebius <glebius@FreeBSD.org>
Fri, 7 Nov 2014 08:58:05 +0000 (08:58 +0000)
Reviewed by: ae
Sponsored by: Nginx, Inc.

sys/netinet6/in6_proto.c

index 1f7b19efbb3f40b94838afb40962c2d206ed6dbc..bb00a776ab36ce160623b871805ac603c2d566d8 100644 (file)
@@ -474,8 +474,6 @@ sysctl_ip6_temppltime(SYSCTL_HANDLER_ARGS)
        int error = 0;
        int old;
 
-       VNET_SYSCTL_ARG(req, arg1);
-
        error = SYSCTL_OUT(req, arg1, sizeof(int));
        if (error || !req->newptr)
                return (error);
@@ -495,8 +493,6 @@ sysctl_ip6_tempvltime(SYSCTL_HANDLER_ARGS)
        int error = 0;
        int old;
 
-       VNET_SYSCTL_ARG(req, arg1);
-
        error = SYSCTL_OUT(req, arg1, sizeof(int));
        if (error || !req->newptr)
                return (error);