diff --git a/fs/inode/fs_files.c b/fs/inode/fs_files.c index 62682e7cc2..4dfe6143ce 100644 --- a/fs/inode/fs_files.c +++ b/fs/inode/fs_files.c @@ -59,18 +59,6 @@ static int _files_semtake(FAR struct filelist *list) * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: files_initialize - * - * Description: - * This is called from the FS initialization logic to configure the files. - * - ****************************************************************************/ - -void files_initialize(void) -{ -} - /**************************************************************************** * Name: files_initlist * diff --git a/fs/inode/fs_inode.c b/fs/inode/fs_inode.c index 1e8793f549..1306734755 100644 --- a/fs/inode/fs_inode.c +++ b/fs/inode/fs_inode.c @@ -90,15 +90,6 @@ void inode_initialize(void) /* Reserve the root node */ inode_root_reserve(); - - /* Initialize files array (if it is used) */ - -#ifdef CONFIG_HAVE_WEAKFUNCTIONS - if (files_initialize != NULL) -#endif - { - files_initialize(); - } } /**************************************************************************** diff --git a/fs/inode/inode.h b/fs/inode/inode.h index 07681e9e8c..b618a1b7f7 100644 --- a/fs/inode/inode.h +++ b/fs/inode/inode.h @@ -367,16 +367,6 @@ void inode_release(FAR struct inode *inode); int foreach_inode(foreach_inode_t handler, FAR void *arg); -/**************************************************************************** - * Name: files_initialize - * - * Description: - * This is called from the FS initialization logic to configure the files. - * - ****************************************************************************/ - -void weak_function files_initialize(void); - /**************************************************************************** * Name: files_allocate * diff --git a/net/mld/mld.h b/net/mld/mld.h index f33a0b40d6..7a89131cb0 100644 --- a/net/mld/mld.h +++ b/net/mld/mld.h @@ -228,17 +228,6 @@ struct mld_mcast_listen_report_v1_s; /* Forward reference */ struct mld_mcast_listen_report_v2_s; /* Forward reference */ struct mld_mcast_listen_done_s; /* Forward reference */ -/**************************************************************************** - * Name: mld_initialize() - * - * Description: - * Initialize the MLD structures. Called once and only from the - * networking layer. - * - ****************************************************************************/ - -void mld_initialize(void); - /**************************************************************************** * Name: mld_devinit * diff --git a/net/mld/mld_initialize.c b/net/mld/mld_initialize.c index bdef733ebb..8eda702a5b 100644 --- a/net/mld/mld_initialize.c +++ b/net/mld/mld_initialize.c @@ -42,18 +42,6 @@ * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: mld_initialize - * - * Description: - * Perform one-time MLD initialization. - * - ****************************************************************************/ - -void mld_initialize(void) -{ -} - /**************************************************************************** * Name: mld_devinit * diff --git a/net/net_initialize.c b/net/net_initialize.c index a23f1abc30..6836989efb 100644 --- a/net/net_initialize.c +++ b/net/net_initialize.c @@ -36,7 +36,6 @@ #include "sixlowpan/sixlowpan.h" #include "icmp/icmp.h" #include "icmpv6/icmpv6.h" -#include "mld/mld.h" #include "tcp/tcp.h" #include "udp/udp.h" #include "pkt/pkt.h" @@ -84,12 +83,6 @@ void net_initialize(void) net_lockinitialize(); #ifdef CONFIG_NET_IPv6 -#ifdef CONFIG_NET_MLD - /* Initialize ICMPv6 Multicast Listener Discovery (MLD) logic */ - - mld_initialize(); -#endif - #ifdef CONFIG_NET_6LOWPAN /* Initialize 6LoWPAN data structures */ diff --git a/sched/init/nx_start.c b/sched/init/nx_start.c index 492fcce2b8..7c0e6bbb08 100644 --- a/sched/init/nx_start.c +++ b/sched/init/nx_start.c @@ -52,9 +52,6 @@ #ifndef CONFIG_DISABLE_MQUEUE # include "mqueue/mqueue.h" #endif -#ifndef CONFIG_DISABLE_PTHREAD -# include "pthread/pthread.h" -#endif #include "clock/clock.h" #include "timer/timer.h" #include "irq/irq.h" @@ -658,17 +655,6 @@ void nx_start(void) } #endif -#ifndef CONFIG_DISABLE_PTHREAD - /* Initialize the thread-specific data facility (if in link) */ - -#ifdef CONFIG_HAVE_WEAKFUNCTIONS - if (pthread_initialize != NULL) -#endif - { - pthread_initialize(); - } -#endif - #ifdef CONFIG_NET /* Initialize the networking system */ diff --git a/sched/pthread/pthread.h b/sched/pthread/pthread.h index e1ce892ad6..a2ca182879 100644 --- a/sched/pthread/pthread.h +++ b/sched/pthread/pthread.h @@ -78,7 +78,6 @@ extern "C" struct pthread_tcb_s; /* Forward reference */ struct task_group_s; /* Forward reference */ -void weak_function pthread_initialize(void); int pthread_setup_scheduler(FAR struct pthread_tcb_s *tcb, int priority, start_t start, pthread_startroutine_t entry); diff --git a/sched/pthread/pthread_initialize.c b/sched/pthread/pthread_initialize.c index 620542619c..d8af297f27 100644 --- a/sched/pthread/pthread_initialize.c +++ b/sched/pthread/pthread_initialize.c @@ -37,26 +37,6 @@ * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: pthread_initialize - * - * Description: - * This is an internal OS function called only at power-up boot time. It - * no longer does anything since all of the pthread data structures have - * been moved into the "task group" - * - * Input Parameters: - * None - * - * Returned Value: - * None - * - ****************************************************************************/ - -void pthread_initialize(void) -{ -} - /**************************************************************************** * Name: pthread_sem_take, pthread_sem_trytake, and * pthread_sem_give