diff --git a/orte/mca/rmaps/base/rmaps_base_ranking.c b/orte/mca/rmaps/base/rmaps_base_ranking.c index fff5bc72e8..d6530126f3 100644 --- a/orte/mca/rmaps/base/rmaps_base_ranking.c +++ b/orte/mca/rmaps/base/rmaps_base_ranking.c @@ -55,7 +55,6 @@ static int rank_span(orte_job_t *jdata, hwloc_obj_type_t target, unsigned cache_level) { - orte_job_map_t *map; hwloc_obj_t obj; int num_objs, i, j, rc; orte_vpid_t num_ranked=0; @@ -86,7 +85,6 @@ static int rank_span(orte_job_t *jdata, * are mapped */ - map = jdata->map; vpid = jdata->num_procs; cnt = 0; while (cnt < app->num_procs) { @@ -170,7 +168,6 @@ static int rank_fill(orte_job_t *jdata, hwloc_obj_type_t target, unsigned cache_level) { - orte_job_map_t *map; hwloc_obj_t obj; int num_objs, i, j, rc; orte_vpid_t num_ranked=0; @@ -193,7 +190,6 @@ static int rank_fill(orte_job_t *jdata, * 2 3 6 7 10 11 14 15 */ - map = jdata->map; vpid = jdata->num_procs; cnt = 0; for (item = opal_list_get_first(nodes); @@ -273,7 +269,6 @@ static int rank_by(orte_job_t *jdata, hwloc_obj_type_t target, unsigned cache_level) { - orte_job_map_t *map; hwloc_obj_t obj; int num_objs, i, j; orte_vpid_t num_ranked=0; @@ -307,7 +302,6 @@ static int rank_by(orte_job_t *jdata, OBJ_CONSTRUCT(&objs, opal_pointer_array_t); opal_pointer_array_init(&objs, 2, INT_MAX, 2); - map = jdata->map; vpid = jdata->num_procs; cnt = 0; for (item = opal_list_get_first(nodes);