diff --git a/bsp/simulator/drivers/module_win32.c b/bsp/simulator/drivers/module_win32.c index b1501f4765..0d4abd22ec 100644 --- a/bsp/simulator/drivers/module_win32.c +++ b/bsp/simulator/drivers/module_win32.c @@ -347,8 +347,6 @@ rt_module_t rt_module_open(const char *path) /* FreeLibrary(hinstlib); */ } - - #endif #define RT_MODULE_ARG_MAX 8 diff --git a/components/dfs/dfs_v1/src/dfs_posix.c b/components/dfs/dfs_v1/src/dfs_posix.c index 352cc0a3ab..1d705cbafe 100644 --- a/components/dfs/dfs_v1/src/dfs_posix.c +++ b/components/dfs/dfs_v1/src/dfs_posix.c @@ -978,7 +978,6 @@ int chdir(const char *path) } RTM_EXPORT(chdir); - #endif /** diff --git a/components/dfs/dfs_v2/src/dfs_posix.c b/components/dfs/dfs_v2/src/dfs_posix.c index ec79a2547c..da446e35ed 100644 --- a/components/dfs/dfs_v2/src/dfs_posix.c +++ b/components/dfs/dfs_v2/src/dfs_posix.c @@ -1241,7 +1241,6 @@ int chdir(const char *path) } RTM_EXPORT(chdir); - #endif /** diff --git a/components/drivers/mtd/mtd_nand.c b/components/drivers/mtd/mtd_nand.c index 95749520a8..0f17075751 100644 --- a/components/drivers/mtd/mtd_nand.c +++ b/components/drivers/mtd/mtd_nand.c @@ -411,8 +411,6 @@ help: MSH_CMD_EXPORT(mtd_nand, MTD nand device test function); #endif /* RT_USING_FINSH */ - - #endif /* defined(RT_MTD_NAND_DEBUG) && defined(RT_USING_FINSH) */ #endif /* RT_USING_MTD_NAND */ diff --git a/components/vbus/vbus.c b/components/vbus/vbus.c index e212f9078c..5e62488764 100644 --- a/components/vbus/vbus.c +++ b/components/vbus/vbus.c @@ -1303,5 +1303,3 @@ void rt_vbus_chm_wm_dump(void) } #endif - - diff --git a/libcpu/arm/realview-a8-vmm/gic.c b/libcpu/arm/realview-a8-vmm/gic.c index de6da116e7..aad0ac3aba 100644 --- a/libcpu/arm/realview-a8-vmm/gic.c +++ b/libcpu/arm/realview-a8-vmm/gic.c @@ -183,7 +183,6 @@ void arm_gic_dump(rt_uint32_t index) rt_kprintf("\n"); } - int arm_gic_dist_init(rt_uint32_t index, rt_uint32_t dist_base, int irq_start) { unsigned int gic_type, i;