1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

nbr_cache_auto_rem does not need an extra thread

This commit is contained in:
Oleg Hahm 2014-02-20 03:05:56 +01:00 committed by Martin Lenders
parent 3a8c1770b1
commit 2c76f99f04

View File

@ -1796,13 +1796,7 @@ int sixlowpan_lowpan_init(void)
return 0;
}
nd_nbr_cache_rem_pid = thread_create(nc_buf, NC_STACKSIZE,
PRIORITY_MAIN - 1, CREATE_STACKTEST,
nbr_cache_auto_rem, "nbr_cache_rem");
if (nd_nbr_cache_rem_pid < 0) {
return 0;
}
nbr_cache_auto_rem();
contexts_rem_pid = thread_create(con_buf, CON_STACKSIZE,
PRIORITY_MAIN + 1, CREATE_STACKTEST,