Remove VNET_SYSCTL_ARG(). The generic sysctl(9) code handles that.
Reviewed by: ae Sponsored by: Nginx, Inc.
This commit is contained in:
parent
3fa969c8ac
commit
428cf06b31
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274223
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user