diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-14 10:32:18 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-11-24 07:40:24 +0100 |
commit | 3c093d6752fb8e51216d734b60db1e97ecdb3fe4 (patch) | |
tree | 8c793a31583cc6d41b7d5afd2b4e5ca6f268ca1a /cpukit/include/rtems/rtems/partimpl.h | |
parent | rtems: Move _Partition_Initialize() (diff) | |
download | rtems-3c093d6752fb8e51216d734b60db1e97ecdb3fe4.tar.bz2 |
rtems: Move _Partition_Allocate()
It is only used by rtems_partition_create().
Diffstat (limited to 'cpukit/include/rtems/rtems/partimpl.h')
-rw-r--r-- | cpukit/include/rtems/rtems/partimpl.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cpukit/include/rtems/rtems/partimpl.h b/cpukit/include/rtems/rtems/partimpl.h index ab0bdc76f7..e2325bf8b5 100644 --- a/cpukit/include/rtems/rtems/partimpl.h +++ b/cpukit/include/rtems/rtems/partimpl.h @@ -34,18 +34,6 @@ extern "C" { */ /** - * @brief Allocates a partition control block from the - * inactive chain of free partition control blocks. - * - * This function allocates a partition control block from - * the inactive chain of free partition control blocks. - */ -RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Allocate ( void ) -{ - return (Partition_Control *) _Objects_Allocate( &_Partition_Information ); -} - -/** * @brief Calls _Objects_Get() using the ::_Partition_Information. * * @param id is the object identifier. |