summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2015-03-18 11:22:44 -0700
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:53:50 -0800
commit87a7a2cfbe48c29e48ed846d939f82d710780d99 (patch)
treeb25941a94fc52646e682533bb80dfcb6a1d45c4c
parent55541f1ac36fbb6edd94273cab21d69a82d31519 (diff)
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 <dwillemsen@nvidia.com>
-rw-r--r--fs/proc/base.c1
1 files changed, 0 insertions, 1 deletions
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