netgraph: Remove unused variable.

This commit is contained in:
John Baldwin 2022-04-12 14:58:59 -07:00
parent 72ff256c51
commit fa351643f5

View File

@ -3374,10 +3374,8 @@ sysctl_debug_ng_dump_items(SYSCTL_HANDLER_ARGS)
{
int error;
int val;
int i;
val = allocated;
i = 1;
error = sysctl_handle_int(oidp, &val, 0, req);
if (error != 0 || req->newptr == NULL)
return (error);