fixup! proc: make oom adjustment files user read-only
authorDan Willemsen <dwillemsen@nvidia.com>
Wed, 18 Mar 2015 18:22:44 +0000 (11:22 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:50 +0000 (13:53 -0800)
Fix the build by removing the duplicate line that uses the obsolete INF
macro.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
fs/proc/base.c

index e2902398f680ac1dacf068d91ff977d0bcfba124..3b6962c52965c01c163fa188564c828ede0bb077 100644 (file)
@@ -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