This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 8da98f255f3f96156a41fdd90b4bd5725ed0a011
Author: Darryl Ring <[email protected]>
AuthorDate: Sun Sep 13 10:57:26 2026 -0700

    arch/arm/stm32: Remove unneccessary ifdef
    
    The compilation of stm32_mpuinit.c is guarded by CMakeLists.txt and
    Make.defs, so this is unneccessary.
    
    Signed-off-by: Darryl Ring <[email protected]>
---
 arch/arm/src/stm32h5/stm32_mpuinit.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/src/stm32h5/stm32_mpuinit.c 
b/arch/arm/src/stm32h5/stm32_mpuinit.c
index e5d2da92e06..ba98332269c 100644
--- a/arch/arm/src/stm32h5/stm32_mpuinit.c
+++ b/arch/arm/src/stm32h5/stm32_mpuinit.c
@@ -32,8 +32,6 @@
 #include "mpu.h"
 #include "stm32_mpuinit.h"
 
-#ifdef CONFIG_ARM_MPU
-
 /****************************************************************************
  * Public Functions
  ****************************************************************************/
@@ -63,5 +61,3 @@ void stm32_mpuinitialize(void)
 
   mpu_control(true, false, true);
 }
-
-#endif /* CONFIG_ARM_MPU */

Reply via email to