diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-05-24 23:14:51 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-24 23:14:51 +0200 |
commit | 42fdfa238a23643226910acf922ea930b3286032 (patch) | |
tree | 12df3576d50e001bdfcddffe90912ee2a194936a /kernel/printk.c | |
parent | 7f6f3a39d258adf51f0fb1fe0dab52272a1c61a4 (diff) | |
download | blackbird-op-linux-42fdfa238a23643226910acf922ea930b3286032.tar.gz blackbird-op-linux-42fdfa238a23643226910acf922ea930b3286032.zip |
namespacecheck: more kernel/printk.c fixes
[ Stephen Rothwell <sfr@canb.auug.org.au>: build fix ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/printk.c')
-rw-r--r-- | kernel/printk.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index b620e3d96136..55d16e57499a 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -268,19 +268,6 @@ int log_buf_copy(char *dest, int idx, int len) } /* - * Extract a single character from the log buffer. - */ -static int log_buf_read(int idx) -{ - char ret; - - if (log_buf_copy(&ret, idx, 1) == 1) - return ret; - else - return -1; -} - -/* * Commands to do_syslog: * * 0 -- Close the log. Currently a NOP. |