From 7fee3fdb13dd0844f79834e2b7127272de4fffea Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 28 Nov 2016 13:09:45 -0500 Subject: [PATCH] kernel: legacy: remove ztest workaround Change-Id: I8aee565a13f6d97f30b975c69ffe2f2381b1dc1f Signed-off-by: Anas Nashif --- include/legacy.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/legacy.h b/include/legacy.h index 838c0911bf5..1d78ed22330 100644 --- a/include/legacy.h +++ b/include/legacy.h @@ -2290,7 +2290,6 @@ task_pipe_block_put(kpipe_t id, struct k_block block, int size, ksem_t sem) struct k_pipe * const name = &_k_pipe_obj_##name #define nano_fifo k_fifo -#ifdef KERNEL /* XXX ztest layer redefines to a different function */ /** * @brief Initialize a nanokernel FIFO (fifo) object. @@ -2338,10 +2337,6 @@ static inline __deprecated void nano_fifo_put(struct nano_fifo *fifo, { k_fifo_put(fifo, data); } -#else -void __deprecated nano_fifo_put(struct nano_fifo *fifo, void *data); -void nano_fifo_init(struct nano_fifo *fifo); -#endif /* KERNEL */ /** * @brief Add an element to the end of a FIFO from an ISR context.