4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-20 16:42:32 +08:00

[components][net]synchronize delayed work changes.

This commit is contained in:
EvalZero 2019-04-22 11:50:39 +08:00
parent 83b6260b3f
commit 3ada52e353

View File

@ -157,7 +157,6 @@ static void check_netdev_internet_up_work(struct rt_work *work, void *work_data)
if (work) if (work)
{ {
rt_timer_detach(&(delay_work->timer));
rt_free(delay_work); rt_free(delay_work);
} }