summaryrefslogtreecommitdiff
path: root/sim/common/hw-alloc.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2000-11-25 09:18:52 +0000
committerStephane Carrez <stcarrez@nerim.fr>2000-11-25 09:18:52 +0000
commitce13044d7a335947b721e7e83730a9f7d97de8e0 (patch)
treed5540213d0bb6e9c9dd55214fda2ea6bca419de2 /sim/common/hw-alloc.c
parent7c070881e4a395f2e803aef0254508ee7a9dda99 (diff)
downloadbinutils-gdb-ce13044d7a335947b721e7e83730a9f7d97de8e0.tar.gz
Fix for sim/common hw_delete()/hw_tree_delete()
Diffstat (limited to 'sim/common/hw-alloc.c')
-rw-r--r--sim/common/hw-alloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/common/hw-alloc.c b/sim/common/hw-alloc.c
index e64ae82997e..5664e9b5e32 100644
--- a/sim/common/hw-alloc.c
+++ b/sim/common/hw-alloc.c
@@ -42,8 +42,6 @@ create_hw_alloc_data (struct hw *me)
void
delete_hw_alloc_data (struct hw *me)
{
- if (me->alloc_of_hw != NULL)
- hw_abort (me, "hw-alloc botch");
while (me->alloc_of_hw != NULL)
{
hw_free (me, me->alloc_of_hw->alloc);