From 3ada52e3538768e09b44b5819e545051e2a64063 Mon Sep 17 00:00:00 2001 From: EvalZero Date: Mon, 22 Apr 2019 11:50:39 +0800 Subject: [PATCH] [components][net]synchronize delayed work changes. --- components/net/sal_socket/src/sal_socket.c | 1 - 1 file changed, 1 deletion(-) diff --git a/components/net/sal_socket/src/sal_socket.c b/components/net/sal_socket/src/sal_socket.c index 82b6ca5ba8..581761103a 100644 --- a/components/net/sal_socket/src/sal_socket.c +++ b/components/net/sal_socket/src/sal_socket.c @@ -157,7 +157,6 @@ static void check_netdev_internet_up_work(struct rt_work *work, void *work_data) if (work) { - rt_timer_detach(&(delay_work->timer)); rt_free(delay_work); }