summaryrefslogtreecommitdiffstats
path: root/cpukit
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 /cpukit
parentbsp/raspberrypi: Mini UART driver (diff)
downloadrtems-88c40ef8d8b0ad89dd6155b5ce1dc9bb733de4b6.tar.bz2
score: Remove unused _Workspace_Allocate_aligned()
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/include/rtems/score/wkspace.h11
-rw-r--r--cpukit/score/src/wkspace.c5
2 files changed, 0 insertions, 16 deletions
diff --git a/cpukit/include/rtems/score/wkspace.h b/cpukit/include/rtems/score/wkspace.h
index 8d0d3bc114..92f29bb4b3 100644
--- a/cpukit/include/rtems/score/wkspace.h
+++ b/cpukit/include/rtems/score/wkspace.h
@@ -75,17 +75,6 @@ void _Workspace_Handler_initialization(
void *_Workspace_Allocate( size_t size );
/**
- * @brief Allocates aligned memory from workspace.
- *
- * @param size The size of the requested memory.
- * @param alignment The alignment of the requested memory.
- *
- * @retval other The memory area begin.
- * @retval NULL Not enough resources.
- */
-void *_Workspace_Allocate_aligned( size_t size, size_t alignment );
-
-/**
* @brief Frees memory to the workspace.
*
* This function frees the specified block of memory.
diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c
index fbdb0b0ba9..049b857953 100644
--- a/cpukit/score/src/wkspace.c
+++ b/cpukit/score/src/wkspace.c
@@ -132,11 +132,6 @@ void *_Workspace_Allocate(
return memory;
}
-void *_Workspace_Allocate_aligned( size_t size, size_t alignment )
-{
- return _Heap_Allocate_aligned( &_Workspace_Area, size, alignment );
-}
-
/*
* _Workspace_Free
*/