From df8f9271eabcd61bf2bcf10d4e00619aedc5d653 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Jul 2013 10:26:56 +0200 Subject: score: Delete priority.inl --- cpukit/score/inline/rtems/score/priority.inl | 53 ---------------------------- 1 file changed, 53 deletions(-) delete mode 100644 cpukit/score/inline/rtems/score/priority.inl (limited to 'cpukit/score/inline') diff --git a/cpukit/score/inline/rtems/score/priority.inl b/cpukit/score/inline/rtems/score/priority.inl deleted file mode 100644 index 5c7c6b3402..0000000000 --- a/cpukit/score/inline/rtems/score/priority.inl +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @file - * - * @brief Inlined Routines in the Priority Handler - * - * This file contains the static inline implementation of all inlined - * routines in the Priority Handler. - */ - -/* - * COPYRIGHT (c) 1989-2011. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - */ - -#ifndef _RTEMS_SCORE_PRIORITY_H -# error "Never use directly; include instead." -#endif - -#ifndef _RTEMS_SCORE_PRIORITY_INL -#define _RTEMS_SCORE_PRIORITY_INL - -/** - * @addtogroup ScorePriority - */ -/**@{**/ - -/** - * This function returns true if the_priority if valid for a - * user task, and false otherwise. - */ - -RTEMS_INLINE_ROUTINE bool _Priority_Is_valid ( - Priority_Control the_priority -) -{ - /* - * Since PRIORITY_MINIMUM is 0 and priorities are stored unsigned, - * then checking for less than 0 is unnecessary. - */ - - return ( the_priority <= PRIORITY_MAXIMUM ); -} - - - -/** @} */ - -#endif -/* end of include file */ -- cgit v1.2.3