summaryrefslogtreecommitdiffstats
path: root/fs/compat.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-09-21 01:45:24 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-09-28 03:20:53 +0200
commit9dcfcda5768eda793e15a1a73da38cfd1fc1a47a (patch)
tree13cb9a91b62b997c215acba5f9dd36238f933d58 /fs/compat.c
parentfs/buffer.c: make __getblk_slow() static (diff)
downloadlinux-9dcfcda5768eda793e15a1a73da38cfd1fc1a47a.tar.xz
linux-9dcfcda5768eda793e15a1a73da38cfd1fc1a47a.zip
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 'fs/compat.c')
-rw-r--r--fs/compat.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/compat.c b/fs/compat.c
index 5bc3a4b245bb..bd064a2c3550 100644
--- a/fs/compat.c
+++ b/fs/compat.c
@@ -54,20 +54,6 @@
#include <asm/ioctls.h>
#include "internal.h"
-int compat_log = 1;
-
-int compat_printk(const char *fmt, ...)
-{
- va_list ap;
- int ret;
- if (!compat_log)
- return 0;
- va_start(ap, fmt);
- ret = vprintk(fmt, ap);
- va_end(ap);
- return ret;
-}
-
/*
* Not all architectures have sys_utime, so implement this in terms
* of sys_utimes.