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:29:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-24 07:40:11 +0100
commit1eafefbf4c42cc83c2167722774955071eaea099 (patch)
treee488e5e8694a6d1e634245e40bf4e0a69a2b0f32 /cpukit/include/rtems/rtems/partimpl.h
parentrtems: Move _Partition_Is_buffer_on_boundary() (diff)
downloadrtems-1eafefbf4c42cc83c2167722774955071eaea099.tar.bz2
rtems: Move _Partition_Is_buffer_size_aligned()
It is only used by rtems_partition_create(). Move code directly into the directive which called the inline function. Add a comment.
Diffstat (limited to 'cpukit/include/rtems/rtems/partimpl.h')
-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 0d15d1e991..b9d57ae3c3 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_size_aligned(
- uint32_t buffer_size
-)
-{
- return (buffer_size % CPU_SIZEOF_POINTER) == 0;
-}
-
RTEMS_INLINE_ROUTINE bool _Partition_Is_buffer_area_aligned(
const void *starting_address
)