Skip to content
Snippets Groups Projects
Commit a791b4df authored by Danny Auble's avatar Danny Auble
Browse files

Remove unneeded #if defined

parent 82a95a36
No related branches found
No related tags found
No related merge requests found
...@@ -344,10 +344,8 @@ int job_step_signal(uint32_t job_id, uint32_t step_id, ...@@ -344,10 +344,8 @@ int job_step_signal(uint32_t job_id, uint32_t step_id,
struct step_record *step_ptr, step_rec; struct step_record *step_ptr, step_rec;
int rc = SLURM_SUCCESS; int rc = SLURM_SUCCESS;
static bool notify_slurmd = true; static bool notify_slurmd = true;
#if defined HAVE_BG_FILES && !defined HAVE_BG_L_P
static int notify_srun = 1;
#else
static int notify_srun = -1; static int notify_srun = -1;
if (notify_srun == -1) { if (notify_srun == -1) {
char *launch_type = slurm_get_launch_type(); char *launch_type = slurm_get_launch_type();
/* do this for all but slurm (poe, aprun, etc...) */ /* do this for all but slurm (poe, aprun, etc...) */
...@@ -358,7 +356,6 @@ int job_step_signal(uint32_t job_id, uint32_t step_id, ...@@ -358,7 +356,6 @@ int job_step_signal(uint32_t job_id, uint32_t step_id,
notify_srun = 0; notify_srun = 0;
xfree(launch_type); xfree(launch_type);
} }
#endif
job_ptr = find_job_record(job_id); job_ptr = find_job_record(job_id);
if (job_ptr == NULL) { if (job_ptr == NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment