]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
callout: Simplify the inner loop in callout_process() a bit
authorMark Johnston <markj@FreeBSD.org>
Fri, 1 Jul 2022 00:16:33 +0000 (20:16 -0400)
committerMark Johnston <markj@FreeBSD.org>
Sun, 17 Jul 2022 17:58:19 +0000 (13:58 -0400)
commit46eab86035a1d5d2b8bfd5aae3581e2604d3ae68
tree8596d642e9a729933ec518d18b208a8f92ed318d
parentaac7c7ac545804889d3bc28fae4efbcc07bcb6d3
callout: Simplify the inner loop in callout_process() a bit

- Use LIST_FOREACH_SAFE.
- Simplify control flow.

No functional change intended.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation
sys/kern/kern_timeout.c