From 88c40ef8d8b0ad89dd6155b5ce1dc9bb733de4b6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 13 Feb 2020 11:34:34 +0100 Subject: score: Remove unused _Workspace_Allocate_aligned() --- testsuites/sptests/spwkspace/init.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'testsuites') 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 ); } -- cgit v1.2.3