mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
namespacecheck: more kernel/printk.c fixes
[ Stephen Rothwell <[email protected]>: build fix ] Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
7f6f3a39d2
commit
42fdfa238a
2 changed files with 0 additions and 19 deletions
|
|
@ -267,19 +267,6 @@ int log_buf_copy(char *dest, int idx, int len)
|
|||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* 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:
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue