aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/printk.c13
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)
268} 268}
269 269
270/* 270/*
271 * Extract a single character from the log buffer.
272 */
273static int log_buf_read(int idx)
274{
275 char ret;
276
277 if (log_buf_copy(&ret, idx, 1) == 1)
278 return ret;
279 else
280 return -1;
281}
282
283/*
284 * Commands to do_syslog: 271 * Commands to do_syslog:
285 * 272 *
286 * 0 -- Close the log. Currently a NOP. 273 * 0 -- Close the log. Currently a NOP.