wireless/bluetooth/bt_conn.c: Avoid assuming wlinfo expansion

This commit is contained in:
YAMAMOTO Takashi 2020-11-23 17:26:25 +09:00 committed by Xiang Xiao
parent af4f81a7e1
commit 14b7ea01ba

View File

@ -92,7 +92,6 @@ static struct bt_conn_handoff_s g_conn_handoff =
* Private Functions
****************************************************************************/
#ifdef CONFIG_DEBUG_WIRELESS_INFO
static const char *state2str(enum bt_conn_state_e state)
{
switch (state)
@ -116,7 +115,6 @@ static const char *state2str(enum bt_conn_state_e state)
return "(unknown)";
}
}
#endif
static void bt_conn_reset_rx_state(FAR struct bt_conn_s *conn)
{