From 0b6d1a41dec75a7ec2f372adf6517a2de8dbfe17 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Thu, 29 Dec 2005 21:00:13 +0000
Subject: [PATCH] Commit change for latest Maui scheduler support.

---
 src/plugins/sched/maui/wiki/wiki_canceljob.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/plugins/sched/maui/wiki/wiki_canceljob.cpp b/src/plugins/sched/maui/wiki/wiki_canceljob.cpp
index 05bc7d3a729..20a29f8a04e 100644
--- a/src/plugins/sched/maui/wiki/wiki_canceljob.cpp
+++ b/src/plugins/sched/maui/wiki/wiki_canceljob.cpp
@@ -74,9 +74,5 @@ wiki_canceljob_t::action( void )
 	int rc;
 	verbose( "Wiki canceling job %s", m_jobid );
 	rc = sched_cancel_job( id );
-#ifdef NEW_MAUI_SCHED
 	return new wiki_status_t( ( rc == SLURM_SUCCESS ) ? 0 : -rc );
-#else
-	return new wiki_status_t( ( rc == SLURM_SUCCESS ) ? 0 : -1 );
-#endif
 }
-- 
GitLab