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:
parent
83b6260b3f
commit
3ada52e353
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user