diff options
author | David Howells <dhowells@redhat.com> | 2010-08-12 19:54:57 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-12 20:51:35 +0400 |
commit | 12fdff3fc2483f906ae6404a6e8dcf2550310b6f (patch) | |
tree | a79fb1365fce7c7529655a8802d6d6bf8509b374 /security | |
parent | 1490cf5f0cb07dd49cdab4bceb769d7f711d7ca6 (diff) | |
download | linux-12fdff3fc2483f906ae6404a6e8dcf2550310b6f.tar.xz |
Add a dummy printk function for the maintenance of unused printks
Add a dummy printk function for the maintenance of unused printks through gcc
format checking, and also so that side-effect checking is maintained too.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/keys/internal.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/security/keys/internal.h b/security/keys/internal.h index addb67b169f4..56a133d8f37d 100644 --- a/security/keys/internal.h +++ b/security/keys/internal.h @@ -15,11 +15,6 @@ #include <linux/sched.h> #include <linux/key-type.h> -static inline __attribute__((format(printf, 1, 2))) -void no_printk(const char *fmt, ...) -{ -} - #ifdef __KDEBUG #define kenter(FMT, ...) \ printk(KERN_DEBUG "==> %s("FMT")\n", __func__, ##__VA_ARGS__) |