diff options
author | David Howells <dhowells@redhat.com> | 2010-08-12 15:54:57 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-12 16:51:35 (GMT) |
commit | 12fdff3fc2483f906ae6404a6e8dcf2550310b6f (patch) | |
tree | a79fb1365fce7c7529655a8802d6d6bf8509b374 /arch/mn10300/kernel | |
parent | 1490cf5f0cb07dd49cdab4bceb769d7f711d7ca6 (diff) | |
download | linux-fsl-qoriq-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 'arch/mn10300/kernel')
-rw-r--r-- | arch/mn10300/kernel/mn10300-serial.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mn10300/kernel/mn10300-serial.c b/arch/mn10300/kernel/mn10300-serial.c index ef34d5a..9d49073 100644 --- a/arch/mn10300/kernel/mn10300-serial.c +++ b/arch/mn10300/kernel/mn10300-serial.c @@ -44,11 +44,6 @@ static const char serial_revdate[] = "2007-11-06"; #include <unit/timex.h> #include "mn10300-serial.h" -static inline __attribute__((format(printf, 1, 2))) -void no_printk(const char *fmt, ...) -{ -} - #define kenter(FMT, ...) \ printk(KERN_DEBUG "-->%s(" FMT ")\n", __func__, ##__VA_ARGS__) #define _enter(FMT, ...) \ |