diff --git a/drivers/ub/urma/ubcore/ubcore_topo_info.c b/drivers/ub/urma/ubcore/ubcore_topo_info.c index 20ad3e79ae45e5f9e66ad817023375eee04fbb48..e9f56ff095009596cb0a66fe6a45ca045ff8e9c3 100644 --- a/drivers/ub/urma/ubcore/ubcore_topo_info.c +++ b/drivers/ub/urma/ubcore/ubcore_topo_info.c @@ -418,7 +418,7 @@ static int ubcore_get_route_primary_eid(union ubcore_eid *src_v_eid, bool dst_match = false; for (int i = 0; i < g_ubcore_topo_map->node_num; i++) { - if (num >= UBCORE_MAX_ROUTE_NUM - 1 || i >= IODIE_NUM) { + if (num >= UBCORE_MAX_ROUTE_NUM - 1) { ubcore_log_warn("Finish to query topo map.\n"); return -EINVAL; }