@@ -157,17 +157,11 @@ static dsp_status drv_proc_free_node_res(bhandle hPCtxt)
if (node_state <= NODE_DELETING) {
if ((node_state == NODE_RUNNING) ||
(node_state == NODE_PAUSED) ||
- (node_state == NODE_TERMINATING)) {
+ (node_state == NODE_TERMINATING))
status = node_terminate
(node_res_obj->hnode, &status);
- status =
- node_delete(node_res_obj->hnode,
- ctxt);
- } else if ((node_state == NODE_ALLOCATED)
- || (node_state == NODE_CREATED))
- status =
- node_delete(node_res_obj->hnode,
- ctxt);
+
+ status = node_delete(node_res_obj->hnode, ctxt);
}
}
}