summaryrefslogtreecommitdiff
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-13 11:34:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-17 08:03:55 +0100
commit88c40ef8d8b0ad89dd6155b5ce1dc9bb733de4b6 (patch)
treea44d6829cae037ab3d6fe0de17d38c3692cfe9b8 /testsuites
parentf53473fa67b453813e43340fb654385b621c07c8 (diff)
score: Remove unused _Workspace_Allocate_aligned()
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/spwkspace/init.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/testsuites/sptests/spwkspace/init.c b/testsuites/sptests/spwkspace/init.c
index ab07e006c5..d9f01b1e48 100644
--- a/testsuites/sptests/spwkspace/init.c
+++ b/testsuites/sptests/spwkspace/init.c
@@ -56,17 +56,6 @@ static void test_workspace_string_duplicate(void)
_Workspace_Free( dup_e );
}
-static void test_workspace_allocate_aligned(void)
-{
- uintptr_t align = 512;
- void *p = _Workspace_Allocate_aligned( 1, align );
-
- rtems_test_assert( p != NULL );
- rtems_test_assert( ((uintptr_t) p & (align - 1)) == 0 );
-
- _Workspace_Free( p );
-}
-
rtems_task Init(
rtems_task_argument argument
)
@@ -113,9 +102,6 @@ rtems_task Init(
puts( "_Workspace_String_duplicate - samples" );
test_workspace_string_duplicate();
- puts( "_Workspace_Allocate_aligned" );
- test_workspace_allocate_aligned();
-
TEST_END();
rtems_test_exit( 0 );
}