Parcourir la source

Remove empty #ifdef RT_USING_FINSH blocks

Removed empty conditional compilation blocks that were left after FINSH macro cleanup.

Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
copilot-swe-agent[bot] il y a 2 mois
Parent
commit
8ef0add346

+ 0 - 2
bsp/mini2440/drivers/dm9000.c

@@ -667,5 +667,3 @@ void dm9000a(void)
 	rt_kprintf("\n");
 	rt_kprintf("\n");
 }
 }
 
 
-#ifdef RT_USING_FINSH
-#endif

+ 0 - 2
bsp/mini4020/drivers/dm9161.c

@@ -698,5 +698,3 @@ void dm9161a(void)
 {
 {
 }
 }
 
 
-#ifdef RT_USING_FINSH
-#endif

+ 0 - 3
bsp/nxp/imx/imxrt/libraries/drivers/drv_eth.c

@@ -15,9 +15,6 @@
 #include "board.h"
 #include "board.h"
 #include <rtdevice.h>
 #include <rtdevice.h>
 
 
-#ifdef RT_USING_FINSH
-#endif
-
 #include "fsl_enet.h"
 #include "fsl_enet.h"
 #include "fsl_gpio.h"
 #include "fsl_gpio.h"
 #include "fsl_cache.h"
 #include "fsl_cache.h"

+ 0 - 2
bsp/nxp/lpc/lpc178x/drivers/lpc17xx_lcd.c

@@ -94,5 +94,3 @@ void lcd_fill(uint8_t * start, uint8_t * end, uint8_t pixel)
         *start++ = pixel;
         *start++ = pixel;
     }
     }
 }
 }
-#ifdef RT_USING_FINSH
-#endif

+ 0 - 2
bsp/nxp/lpc/lpc54608-LPCXpresso/drivers/drv_emac.c

@@ -724,5 +724,3 @@ void emac_bd_dump(void)
     }
     }
 }
 }
 
 
-#ifdef RT_USING_FINSH
-#endif

+ 0 - 3
components/dfs/dfs_v2/src/dfs_posix.c

@@ -847,9 +847,6 @@ int mkdir(const char *path, mode_t mode)
 }
 }
 RTM_EXPORT(mkdir);
 RTM_EXPORT(mkdir);
 
 
-#ifdef RT_USING_FINSH
-#endif
-
 /**
 /**
  * this function is a POSIX compliant version, which will remove a directory.
  * this function is a POSIX compliant version, which will remove a directory.
  *
  *

+ 0 - 3
examples/test/device_test.c

@@ -509,6 +509,3 @@ int device_test(const char * device_name)
     }
     }
 }
 }
 
 
-#ifdef RT_USING_FINSH
-#endif
-

+ 0 - 2
examples/test/fs_test.c

@@ -291,5 +291,3 @@ void fs_test(rt_uint32_t arg)
     }
     }
 }
 }
 
 
-#ifdef RT_USING_FINSH
-#endif

+ 0 - 2
examples/test/mem_test.c

@@ -108,5 +108,3 @@ void mem_test(uint32_t address, uint32_t size )
     }
     }
 }
 }
 
 
-#ifdef RT_USING_FINSH
-#endif