From db9e6d6981a65a5853f9aed28bd29a4044e6fa85 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Thu, 18 Apr 2013 12:52:44 -0700 Subject: [PATCH] Remove unneeded #if defined --- src/slurmctld/step_mgr.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/slurmctld/step_mgr.c b/src/slurmctld/step_mgr.c index 9a54b05d4ed..1bcfd517734 100644 --- a/src/slurmctld/step_mgr.c +++ b/src/slurmctld/step_mgr.c @@ -369,10 +369,8 @@ int job_step_signal(uint32_t job_id, uint32_t step_id, struct step_record *step_ptr, step_rec; int rc = SLURM_SUCCESS; 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; + if (notify_srun == -1) { char *launch_type = slurm_get_launch_type(); /* do this for all but slurm (poe, aprun, etc...) */ @@ -383,7 +381,6 @@ int job_step_signal(uint32_t job_id, uint32_t step_id, notify_srun = 0; xfree(launch_type); } -#endif job_ptr = find_job_record(job_id); if (job_ptr == NULL) { -- GitLab