]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netgraph: Remove the rethook parameter from NG_NODE_FOREACH_HOOK.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 12 Apr 2022 21:58:59 +0000 (14:58 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 12 Apr 2022 21:58:59 +0000 (14:58 -0700)
commit6d5f002ed1187547b0b40f8b46a3db38bf89c6dc
tree0842ac970d1c94b4b3c63481c3656134d40e9e64
parentfa351643f5860f251141bcf0d86fb55a33dc5f96
netgraph: Remove the rethook parameter from NG_NODE_FOREACH_HOOK.

This parameter was set to the hook that terminated the iteration
early.  However, none of the remaining callers used this argument and
it was always set to an otherwise-unused variable.
sys/netgraph/netgraph.h
sys/netgraph/ng_bpf.c
sys/netgraph/ng_bridge.c
sys/netgraph/ng_l2tp.c