From 7d47d8cf46c4728c277d0971efd7f5a3f7368cec Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 15 Jun 2018 09:11:07 +0000 Subject: New API added to pools and fifos. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12100 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/lib/src/chmempools.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'os/lib/src/chmempools.c') diff --git a/os/lib/src/chmempools.c b/os/lib/src/chmempools.c index 43078c951..2fcd0cb3b 100644 --- a/os/lib/src/chmempools.c +++ b/os/lib/src/chmempools.c @@ -305,24 +305,6 @@ void *chGuardedPoolAllocTimeout(guarded_memory_pool_t *gmp, return p; } -/** - * @brief Releases an object into a guarded memory pool. - * @pre The guarded memory pool must already be initialized. - * @pre The freed object must be of the right size for the specified - * guarded memory pool. - * @pre The added object must be properly aligned. - * - * @param[in] gmp pointer to a @p guarded_memory_pool_t structure - * @param[in] objp the pointer to the object to be released - * - * @iclass - */ -void chGuardedPoolFreeI(guarded_memory_pool_t *gmp, void *objp) { - - chPoolFreeI(&gmp->pool, objp); - chSemSignalI(&gmp->sem); -} - /** * @brief Releases an object into a guarded memory pool. * @pre The guarded memory pool must already be initialized. -- cgit v1.2.3