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:22:52 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-23 10:43:19 +0100
commitcbfacee436eaf8f02279fe4e0a190ecaf77be37d (patch)
treee7dc810b82f6cc597a9908b5a50a295d65dda3eb /cpukit/include/rtems/rtems/partimpl.h
parentrtems: Remove _Partition_Free() (diff)
downloadrtems-cbfacee436eaf8f02279fe4e0a190ecaf77be37d.tar.bz2
rtems: Remove _Partition_Destroy()
It was a trivial function call wrapper used only in one place.
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 55de7b113d..fc17311803 100644
--- a/cpukit/include/rtems/rtems/partimpl.h
+++ b/cpukit/include/rtems/rtems/partimpl.h
@@ -129,13 +129,6 @@ RTEMS_INLINE_ROUTINE void _Partition_Initialize(
_ISR_lock_Initialize( &the_partition->Lock, "Partition" );
}
-RTEMS_INLINE_ROUTINE void _Partition_Destroy(
- Partition_Control *the_partition
-)
-{
- _ISR_lock_Destroy( &the_partition->Lock );
-}
-
/**
* @brief Calls _Objects_Get() using the ::_Partition_Information.
*