From 606ebe99d94294e601f6916ae99f09d7bdd2faef Mon Sep 17 00:00:00 2001 From: crafcat7 <110923103+crafcat7@users.noreply.github.com> Date: Sun, 13 Nov 2022 02:02:17 +0800 Subject: [PATCH] testing/fstest:Remove duplicate macro references in source code There is a macro configuration in the source code, and the macro configuration is also referenced in Kconfig. Delete the macro configuration in the source file, whichever is in Kconfig. --- testing/fstest/fstest_main.c | 39 ------------------------------------ 1 file changed, 39 deletions(-) diff --git a/testing/fstest/fstest_main.c b/testing/fstest/fstest_main.c index 1d44675a3..00b51cf9b 100644 --- a/testing/fstest/fstest_main.c +++ b/testing/fstest/fstest_main.c @@ -46,45 +46,6 @@ #include -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/* Configuration ************************************************************/ - -#ifndef CONFIG_TESTING_FSTEST_MAXNAME -# define CONFIG_TESTING_FSTEST_MAXNAME 128 -#endif - -#if CONFIG_TESTING_FSTEST_MAXNAME > 255 -# undef CONFIG_TESTING_FSTEST_MAXNAME -# define CONFIG_TESTING_FSTEST_MAXNAME 255 -#endif - -#ifndef CONFIG_TESTING_FSTEST_MAXFILE -# define CONFIG_TESTING_FSTEST_MAXFILE 8192 -#endif - -#ifndef CONFIG_TESTING_FSTEST_MAXIO -# define CONFIG_TESTING_FSTEST_MAXIO 347 -#endif - -#ifndef CONFIG_TESTING_FSTEST_MAXOPEN -# define CONFIG_TESTING_FSTEST_MAXOPEN 512 -#endif - -#ifndef CONFIG_TESTING_FSTEST_MOUNTPT -# error CONFIG_TESTING_FSTEST_MOUNTPT must be provided -#endif - -#ifndef CONFIG_TESTING_FSTEST_NLOOPS -# define CONFIG_TESTING_FSTEST_NLOOPS 100 -#endif - -#ifndef CONFIG_TESTING_FSTEST_VERBOSE -# define CONFIG_TESTING_FSTEST_VERBOSE 0 -#endif - /**************************************************************************** * Private Types ****************************************************************************/