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:30:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-24 07:40:16 +0100
commit1784799b1717a7e9e3167e09c7492d654cb20351 (patch)
treebf420b3bbca07a2e1448776a62243c427f8a70ef /cpukit/include/rtems/rtems/partimpl.h
parentrtems: Move _Partition_Is_buffer_size_aligned() (diff)
downloadrtems-1784799b1717a7e9e3167e09c7492d654cb20351.tar.bz2
rtems: Move _Partition_Is_buffer_area_aligned()
It is only used by rtems_partition_create(). Move code directly into directive which called the inline function. Add a comment.
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/rtems/partimpl.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/cpukit/include/rtems/rtems/partimpl.h b/cpukit/include/rtems/rtems/partimpl.h
index b9d57ae3c3..dcffe757c7 100644
--- a/cpukit/include/rtems/rtems/partimpl.h
+++ b/cpukit/include/rtems/rtems/partimpl.h
@@ -34,13 +34,6 @@ extern "C" {
* @{
*/
-RTEMS_INLINE_ROUTINE bool _Partition_Is_buffer_area_aligned(
- const void *starting_address
-)
-{
- return (((uintptr_t) starting_address) % CPU_SIZEOF_POINTER) == 0;
-}
-
/**
* @brief Allocates a partition control block from the
* inactive chain of free partition control blocks.