git: fa351643f586 - main - netgraph: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Apr 2022 21:59:37 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=fa351643f5860f251141bcf0d86fb55a33dc5f96 commit fa351643f5860f251141bcf0d86fb55a33dc5f96 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-12 21:58:59 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-12 21:58:59 +0000 netgraph: Remove unused variable. --- sys/netgraph/ng_base.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index f43199f3820f..f9e679de33bb 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -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);