This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 716e27cbebadbc93ee7d2c550503768b24a0a838 Author: Xiang Xiao <[email protected]> AuthorDate: Sat Mar 12 12:23:22 2022 +0800 net/local: Remove local_initialize Signed-off-by: Xiang Xiao <[email protected]> --- net/local/local.h | 11 ----------- net/local/local_conn.c | 14 -------------- net/net_initialize.c | 7 ------- 3 files changed, 32 deletions(-) diff --git a/net/local/local.h b/net/local/local.h index ef74217..ca9eab2 100644 --- a/net/local/local.h +++ b/net/local/local.h @@ -204,17 +204,6 @@ struct sockaddr; /* Forward reference */ struct socket; /* Forward reference */ /**************************************************************************** - * Name: local_initialize - * - * Description: - * Initialize the local, Unix domain connection structures. Called once - * and only from the common network initialization logic. - * - ****************************************************************************/ - -void local_initialize(void); - -/**************************************************************************** * Name: local_alloc * * Description: diff --git a/net/local/local_conn.c b/net/local/local_conn.c index 72fb1d1..302c7cb 100644 --- a/net/local/local_conn.c +++ b/net/local/local_conn.c @@ -48,20 +48,6 @@ static dq_queue_t g_local_connections; ****************************************************************************/ /**************************************************************************** - * Name: local_initialize - * - * Description: - * Initialize the local, Unix domain connection structures. Called once - * and only from the common network initialization logic. - * - ****************************************************************************/ - -void local_initialize(void) -{ - dq_init(&g_local_connections); -} - -/**************************************************************************** * Name: local_nextconn * * Description: diff --git a/net/net_initialize.c b/net/net_initialize.c index fa1a3be..185f354 100644 --- a/net/net_initialize.c +++ b/net/net_initialize.c @@ -41,7 +41,6 @@ #include "pkt/pkt.h" #include "bluetooth/bluetooth.h" #include "ieee802154/ieee802154.h" -#include "local/local.h" #include "can/can.h" #include "netlink/netlink.h" #include "igmp/igmp.h" @@ -125,12 +124,6 @@ void net_initialize(void) ieee802154_initialize(); #endif -#ifdef CONFIG_NET_LOCAL - /* Initialize the local, "Unix domain" socket support */ - - local_initialize(); -#endif - #ifdef CONFIG_NET_CAN /* Initialize SocketCAN support */
