From 88f4157c93e3e2b91897b9925cea04b9c384a3c2 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 4 Apr 2016 08:46:27 +0200 Subject: score: Delete _Chain_Append_with_empty_check() This function is not used in the score. Update #2555. --- cpukit/sapi/include/rtems/chain.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cpukit/sapi/include/rtems') diff --git a/cpukit/sapi/include/rtems/chain.h b/cpukit/sapi/include/rtems/chain.h index ba8cd329f1..01d743f972 100644 --- a/cpukit/sapi/include/rtems/chain.h +++ b/cpukit/sapi/include/rtems/chain.h @@ -750,20 +750,10 @@ RTEMS_INLINE_ROUTINE void rtems_chain_prepend_unprotected( * @retval true The chain was empty before the append. * @retval false The chain contained at least one node before the append. */ -#if defined( RTEMS_SMP ) bool rtems_chain_append_with_empty_check( rtems_chain_control *chain, rtems_chain_node *node ); -#else -RTEMS_INLINE_ROUTINE bool rtems_chain_append_with_empty_check( - rtems_chain_control *chain, - rtems_chain_node *node -) -{ - return _Chain_Append_with_empty_check( chain, node ); -} -#endif /** * @brief Checks if the @a chain is empty and prepends the @a node. -- cgit v1.2.3