File tree 1 file changed +3
-13
lines changed 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -1308,7 +1308,6 @@ get_local_job_data_info(
1308
1308
pmix_status_t rc = PMIX_SUCCESS;
1309
1309
size_t nhtentries = 0 ;
1310
1310
uint32_t sid = UINT32_MAX;
1311
- bool have_sid = false ;
1312
1311
1313
1312
pmix_buffer_t data;
1314
1313
PMIX_CONSTRUCT (&data, pmix_buffer_t );
@@ -1330,7 +1329,6 @@ get_local_job_data_info(
1330
1329
PMIX_ERROR_LOG (rc);
1331
1330
goto out;
1332
1331
}
1333
- have_sid = true ;
1334
1332
}
1335
1333
}
1336
1334
// Just a key/value pair, so they will likely go into the hash table.
@@ -1344,17 +1342,9 @@ get_local_job_data_info(
1344
1342
goto out;
1345
1343
}
1346
1344
}
1347
- // Make sure that we were given a session ID.
1348
- // If not, this is an internal error.
1349
- if (!have_sid) {
1350
- rc = PMIX_ERROR;
1351
- PMIX_ERROR_LOG (rc);
1352
- }
1353
- else {
1354
- pji->session_id = sid;
1355
- pji->packed_size = data.bytes_used ;
1356
- pji->hash_table_size = get_actual_hashtab_capacity (nhtentries);
1357
- }
1345
+ pji->session_id = sid;
1346
+ pji->packed_size = data.bytes_used ;
1347
+ pji->hash_table_size = get_actual_hashtab_capacity (nhtentries);
1358
1348
out:
1359
1349
PMIX_DESTRUCT (&data);
1360
1350
return rc;
You can’t perform that action at this time.
0 commit comments