summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/partdelete.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-14 10:22:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-23 10:43:19 +0100
commit3c029026da74700c2fd4780333f13a649152b7b8 (patch)
tree17242a012f22c93f814c42cb719ba3eeeae9d4a1 /cpukit/rtems/src/partdelete.c
parentrtems: Move _Partition_Free_buffer() (diff)
downloadrtems-3c029026da74700c2fd4780333f13a649152b7b8.tar.bz2
rtems: Remove _Partition_Free()
It was a trivial function call wrapper used only in one place.
Diffstat (limited to 'cpukit/rtems/src/partdelete.c')
-rw-r--r--cpukit/rtems/src/partdelete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/partdelete.c b/cpukit/rtems/src/partdelete.c
index 12f6bd6025..4fc71aff2d 100644
--- a/cpukit/rtems/src/partdelete.c
+++ b/cpukit/rtems/src/partdelete.c
@@ -73,7 +73,7 @@ rtems_status_code rtems_partition_delete(
#endif
_Partition_Destroy( the_partition );
- _Partition_Free( the_partition );
+ _Objects_Free( &_Partition_Information, &the_partition->Object );
_Objects_Allocator_unlock();
return RTEMS_SUCCESSFUL;
}