mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 00:34:10 +08:00
effdb88710
Refactor nxsched_get_scheduler() to consolidate multiple return statements into a single exit point by inverting the null check condition. This improves code structure and resolves Coverity HIS_metric_violation defect for better MISRA HIS standards compliance. Signed-off-by: hujun5 <hujun5@xiaomi.com>