From d55cc2651fd3a285aafe81779f828a5d03d3196f Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Mon, 19 Nov 2012 10:11:26 -0800 Subject: [PATCH] Cosmetic mods related to OOM --- src/slurmd/common/set_oomadj.c | 2 -- src/slurmd/common/set_oomadj.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/slurmd/common/set_oomadj.c b/src/slurmd/common/set_oomadj.c index ef123af6283..4228c1941fc 100644 --- a/src/slurmd/common/set_oomadj.c +++ b/src/slurmd/common/set_oomadj.c @@ -80,5 +80,3 @@ extern int set_oom_adj(int adj) return 0; } - - diff --git a/src/slurmd/common/set_oomadj.h b/src/slurmd/common/set_oomadj.h index 068aeec6cff..99aabf85f75 100644 --- a/src/slurmd/common/set_oomadj.h +++ b/src/slurmd/common/set_oomadj.h @@ -38,9 +38,6 @@ #ifndef _SET_OOMADJ_H #define _SET_OOMADJ_H -/* from linux/mm.h */ -#define OOM_DISABLE (-17) - extern int set_oom_adj(int adj); #endif /* _SET_OOMADJ_H */ -- GitLab