[PATCH] ARM: remove unneeded semicolons

Chengyang Fan cy.fan at huawei.com
Mon Jan 25 04:45:57 EST 2021


Remove superfluous semicolons after function definitions.

Signed-off-by: Chengyang Fan <cy.fan at huawei.com>
---
 arch/arm/include/asm/mpu.h        | 8 ++++----
 arch/arm/mach-mvebu/kirkwood-pm.h | 2 +-
 arch/arm/mach-pxa/littleton.c     | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/include/asm/mpu.h b/arch/arm/include/asm/mpu.h
index 5e088c83d3d8..c7d4099814b7 100644
--- a/arch/arm/include/asm/mpu.h
+++ b/arch/arm/include/asm/mpu.h
@@ -122,10 +122,10 @@ extern void __init pmsav8_adjust_lowmem_bounds(void);
 extern void __init pmsav7_setup(void);
 extern void __init pmsav8_setup(void);
 #else
-static inline void pmsav7_adjust_lowmem_bounds(void) {};
-static inline void pmsav8_adjust_lowmem_bounds(void) {};
-static inline void pmsav7_setup(void) {};
-static inline void pmsav8_setup(void) {};
+static inline void pmsav7_adjust_lowmem_bounds(void) {}
+static inline void pmsav8_adjust_lowmem_bounds(void) {}
+static inline void pmsav7_setup(void) {}
+static inline void pmsav8_setup(void) {}
 #endif
 
 #endif /* __ASSEMBLY__ */
diff --git a/arch/arm/mach-mvebu/kirkwood-pm.h b/arch/arm/mach-mvebu/kirkwood-pm.h
index 7ce7fac39a1c..ea93a251d903 100644
--- a/arch/arm/mach-mvebu/kirkwood-pm.h
+++ b/arch/arm/mach-mvebu/kirkwood-pm.h
@@ -12,7 +12,7 @@
 #ifdef CONFIG_PM
 void kirkwood_pm_init(void);
 #else
-static inline void kirkwood_pm_init(void) {};
+static inline void kirkwood_pm_init(void) {}
 #endif
 
 #endif
diff --git a/arch/arm/mach-pxa/littleton.c b/arch/arm/mach-pxa/littleton.c
index 793f61375ee8..f1727b567485 100644
--- a/arch/arm/mach-pxa/littleton.c
+++ b/arch/arm/mach-pxa/littleton.c
@@ -184,7 +184,7 @@ static void __init littleton_init_lcd(void)
 	pxa_set_fb_info(NULL, &littleton_lcd_info);
 }
 #else
-static inline void littleton_init_lcd(void) {};
+static inline void littleton_init_lcd(void) {}
 #endif /* CONFIG_FB_PXA || CONFIG_FB_PXA_MODULE */
 
 #if defined(CONFIG_SPI_PXA2XX) || defined(CONFIG_SPI_PXA2XX_MODULE)
-- 
2.25.1




More information about the linux-arm-kernel mailing list