forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv: Remove some unnecessary macro guards
If CONFIG_SMP is not enabled, riscv_cpuindex.c will not be compiled anyway. And for CONFIG_ARCH_FPU, if it's not enabled, riscv_fpucmp.c will not be compiled. So we can remove the unnecessary macro guard for up_cpu_index() and up_fpucmp(). Signed-off-by: Huang Qi <[email protected]>
- Loading branch information
1 parent
1eb151b
commit d9b95c5
Showing
2 changed files
with
0 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters