]> 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>
Mon, 25 Jul 2022 13:45:37 +0000 (09:45 -0400)
commit9cdb0ee85da33a4f0f4d31897f2b3601c1ca5c0b
treebdf7457e7ec45b7f6840238d02e0ee60a80348a5
parent68a573cc5d06099fcf55a67f3eb3368cc3705081
callout: Simplify the inner loop in callout_process() a bit

- Use LIST_FOREACH_SAFE.
- Simplify control flow.

No functional change intended.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 46eab86035a1d5d2b8bfd5aae3581e2604d3ae68)
sys/kern/kern_timeout.c