tls: remove ifdef DTLS_CTRL_HANDLE_TIMEOUT
@@ -201,8 +201,6 @@ static void conn_close(struct tls_conn *tc, int err)
}
-#if defined (DTLS_CTRL_HANDLE_TIMEOUT) && defined(DTLS_CTRL_GET_TIMEOUT)
-
static void check_timer(struct tls_conn *tc);
@@ -237,15 +235,6 @@ static void check_timer(struct tls_conn *tc)
}
}
-#else
-
-static void check_timer(struct tls_conn *tc)
-{
- (void)tc;
-}
-
-#endif
-
static int tls_connect(struct tls_conn *tc)
{
