HomeFreeBSD

netgraph: Remove the rethook parameter from NG_NODE_FOREACH_HOOK.

Description

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.

(cherry picked from commit 6d5f002ed1187547b0b40f8b46a3db38bf89c6dc)

Details

Provenance
jhbAuthored on Apr 12 2022, 9:58 PM
Parents
rG24c581ffa917: powerpc pmu: Don't use garbage battery info.
Branches
Unknown
Tags
Unknown