The idea was to be blocked on this semaphore if there is not
enough PBUFs to be allocated. This however does not work.
Remove it.
Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
return 0;
}
-/*** RPP - Notificating semaphore that we got free pbuf (FreeRTOS semaphore) ***/
-#if !NO_SYS
-extern xSemaphoreHandle pbufFreed;
-#endif
-/*** end driver notification declare ***/
-
/**
* Dereference a pbuf chain or queue and deallocate any no-longer-used
* pbufs at the head of this chain or queue.
}
}
PERF_STOP("pbuf_free");
- /*** RPP - Notify driver that we got free space for it (FreeRTOS semaphore) ***/
-#if !NO_SYS
- if (type == PBUF_POOL)xSemaphoreGive(pbufFreed);
-#endif
- /*** end driver notification ***/
/* return number of de-allocated pbufs */
return count;
}