Remove the empty xxx_initialize functions
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I63cb6b37f78e910663724659e11f53e3335d419f
This commit is contained in:
parent
ab5f46d46c
commit
8d0fd4038b
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -42,18 +42,6 @@
|
|||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: mld_initialize
|
||||
*
|
||||
* Description:
|
||||
* Perform one-time MLD initialization.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void mld_initialize(void)
|
||||
{
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: mld_devinit
|
||||
*
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue