diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h index 077b9800b2..a0c065ba11 100644 --- a/include/nuttx/fs/fs.h +++ b/include/nuttx/fs/fs.h @@ -365,7 +365,7 @@ extern "C" * ****************************************************************************/ -void weak_function fs_initialize(void); +void fs_initialize(void); /* fs_foreachmountpoint.c ***************************************************/ /**************************************************************************** diff --git a/sched/init/os_start.c b/sched/init/os_start.c index dae073b22c..59929e0b5f 100644 --- a/sched/init/os_start.c +++ b/sched/init/os_start.c @@ -459,12 +459,7 @@ void os_start(void) #if CONFIG_NFILE_DESCRIPTORS > 0 /* Initialize the file system (needed to support device drivers) */ -#ifdef CONFIG_HAVE_WEAKFUNCTIONS - if (fs_initialize != NULL) -#endif - { - fs_initialize(); - } + fs_initialize(); #endif #ifdef CONFIG_NET