- Use defined SYS_SYSCTL names
- Use memcmp instead of explicit loop
- Use NULL instead of 0 for pointer value
- Use __FBSDID
- Reformat, improve comments in parse()
No functional changes.
Sponsored by: iXsystems, Inc.
Differential D26832
sysctl: Misc code cleanup freqlabs on Oct 17 2020, 5:10 PM. Authored by Tags None Referenced Files
Subscribers
Details
No functional changes. Sponsored by: iXsystems, Inc.
Diff Detail
Event TimelineComment Actions Separated kern_sysctl changes to a different patch. Comment Actions Modulo the blank line thing, this looks good. It's arguably two different commits, but it's so small splitting it further at this stage likely has little benefit.
Comment Actions I have it as 5 separate commits in my git tree but putting up separate reviews for each one on phabricator is not practical. I plan to do one commit to svn as well to avoid confusing phabricator. |