From 37cf4135c4add281f67af54af4556150754d5d90 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 6 Oct 2014 11:45:35 -0600 Subject: [PATCH] fs_initialize() is no longer weak --- include/nuttx/fs/fs.h | 2 +- sched/init/os_start.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) 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