net/tcp: remove the redundant ifdef CONFIG_NET_TCP

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-09-25 20:17:54 +08:00 committed by Masayuki Ishikawa
parent d71e8dacd4
commit f43be61f69

View File

@ -76,7 +76,6 @@ struct accept_s
* *
****************************************************************************/ ****************************************************************************/
#ifdef CONFIG_NET_TCP
static inline void accept_tcpsender(FAR struct socket *psock, static inline void accept_tcpsender(FAR struct socket *psock,
FAR struct tcp_conn_s *conn, FAR struct tcp_conn_s *conn,
FAR struct sockaddr *addr, FAR struct sockaddr *addr,
@ -127,7 +126,6 @@ static inline void accept_tcpsender(FAR struct socket *psock,
#endif /* CONFIG_NET_IPv6 */ #endif /* CONFIG_NET_IPv6 */
} }
} }
#endif /* CONFIG_NET_TCP */
/**************************************************************************** /****************************************************************************
* Name: accept_eventhandler * Name: accept_eventhandler