summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/partimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-14 10:12:56 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-23 10:43:19 +0100
commit6d413ef1f834a4ae53372cec28aac3bfe8514179 (patch)
tree1d338de07c7f6006d93b1b25defd2acefd70f763 /cpukit/include/rtems/rtems/partimpl.h
parentrtems: Update partition documentation (diff)
downloadrtems-6d413ef1f834a4ae53372cec28aac3bfe8514179.tar.bz2
rtems: Move _Partition_Allocate_buffer()
It is only used by rtems_partition_get_buffer().
Diffstat (limited to 'cpukit/include/rtems/rtems/partimpl.h')
-rw-r--r--cpukit/include/rtems/rtems/partimpl.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/cpukit/include/rtems/rtems/partimpl.h b/cpukit/include/rtems/rtems/partimpl.h
index 9327188eea..fe9974d993 100644
--- a/cpukit/include/rtems/rtems/partimpl.h
+++ b/cpukit/include/rtems/rtems/partimpl.h
@@ -36,20 +36,6 @@ extern "C" {
*/
/**
- * @brief Allocate a buffer from the_partition.
- *
- * This function attempts to allocate a buffer from the_partition.
- * If successful, it returns the address of the allocated buffer.
- * Otherwise, it returns NULL.
- */
-RTEMS_INLINE_ROUTINE void *_Partition_Allocate_buffer (
- Partition_Control *the_partition
-)
-{
- return _Chain_Get_unprotected( &the_partition->Memory );
-}
-
-/**
* @brief Frees the_buffer to the_partition.
*
* This routine frees the_buffer to the_partition.