HomeFreeBSD

newbus: Optimize/Simplify kobj_class_compile_common a little

Description

newbus: Optimize/Simplify kobj_class_compile_common a little

"i" is not used in this loop at all. There's no need to initialize and
increment it.

Reviewed by: markj@
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D29898

Details

Provenance
impAuthored on Apr 21 2021, 9:35 PM
Differential Revision
D29898: newbus: Optimize/Simplify kobj_class_compile_common a little
Parents
rG6a3a6fe34bf3: riscv: Assert that SUM is not set in SSTATUS for exceptions.
Branches
Unknown
Tags
Unknown