Skip to content

Commit 9330a5e

Browse files
committed
core: remove a obsolete conditional before a debug assert
Signed-off-by: Brice Goglin <[email protected]>
1 parent 51fb3b2 commit 9330a5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hwloc/topology.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3315,8 +3315,7 @@ hwloc__check_children(hwloc_topology_t topology, hwloc_obj_t parent)
33153315
assert(!child->next_sibling);
33163316
else
33173317
assert(child->next_sibling == parent->children[j+1]);
3318-
if (!hwloc_obj_type_is_io(child->type))
3319-
assert(child->depth > parent->depth);
3318+
assert(child->depth > parent->depth);
33203319
/* recurse */
33213320
hwloc__check_object(topology, child);
33223321
}

0 commit comments

Comments
 (0)