From 87a7a2cfbe48c29e48ed846d939f82d710780d99 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 18 Mar 2015 11:22:44 -0700 Subject: [PATCH] fixup! proc: make oom adjustment files user read-only Fix the build by removing the duplicate line that uses the obsolete INF macro. Signed-off-by: Dan Willemsen --- fs/proc/base.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index e2902398f680..3b6962c52965 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -2793,7 +2793,6 @@ static const struct pid_entry tgid_base_stuff[] = { ONE("cgroup", S_IRUGO, proc_cgroup_show), #endif ONE("oom_score", S_IRUGO, proc_oom_score), - INF("oom_score", S_IRUGO, proc_oom_score), REG("oom_adj", S_IRUSR, proc_oom_adj_operations), REG("oom_score_adj", S_IRUSR, proc_oom_score_adj_operations), #ifdef CONFIG_AUDITSYSCALL -- 2.34.1