diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-09-20 19:45:24 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-27 21:20:53 -0400 |
commit | 9dcfcda5768eda793e15a1a73da38cfd1fc1a47a (patch) | |
tree | 13cb9a91b62b997c215acba5f9dd36238f933d58 /kernel/sysctl.c | |
parent | 0026ba4008e08725a564126d68e076c243fc1e87 (diff) |
compat: remove compat_printk()
After 7e8e385aaf6e ("x86/compat: Remove sys32_vm86_warning"), this
function has become unused, so we can remove it as well.
Link: http://lkml.kernel.org/r/20160617142903.3070388-1-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index d66321036f21..98ba312d1088 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -106,7 +106,6 @@ extern unsigned int core_pipe_limit; | |||
106 | extern int pid_max; | 106 | extern int pid_max; |
107 | extern int pid_max_min, pid_max_max; | 107 | extern int pid_max_min, pid_max_max; |
108 | extern int percpu_pagelist_fraction; | 108 | extern int percpu_pagelist_fraction; |
109 | extern int compat_log; | ||
110 | extern int latencytop_enabled; | 109 | extern int latencytop_enabled; |
111 | extern unsigned int sysctl_nr_open_min, sysctl_nr_open_max; | 110 | extern unsigned int sysctl_nr_open_min, sysctl_nr_open_max; |
112 | #ifndef CONFIG_MMU | 111 | #ifndef CONFIG_MMU |
@@ -1084,15 +1083,6 @@ static struct ctl_table kern_table[] = { | |||
1084 | .extra1 = &neg_one, | 1083 | .extra1 = &neg_one, |
1085 | }, | 1084 | }, |
1086 | #endif | 1085 | #endif |
1087 | #ifdef CONFIG_COMPAT | ||
1088 | { | ||
1089 | .procname = "compat-log", | ||
1090 | .data = &compat_log, | ||
1091 | .maxlen = sizeof (int), | ||
1092 | .mode = 0644, | ||
1093 | .proc_handler = proc_dointvec, | ||
1094 | }, | ||
1095 | #endif | ||
1096 | #ifdef CONFIG_RT_MUTEXES | 1086 | #ifdef CONFIG_RT_MUTEXES |
1097 | { | 1087 | { |
1098 | .procname = "max_lock_depth", | 1088 | .procname = "max_lock_depth", |