Merge the two loops that traverse the global filed queue. Both loops' actions are not dependent on the other, so combining them is safe.
Details
Details
- Reviewers
markj emaste - Commits
- rGbbde787c6668: syslogd: Merge loops
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
so combining them is safe
I think it's not only safe, but more clear/obvious with your change assuming fileds have no (can have no) reference between them.