diff options
author | Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> | 2018-11-24 13:10:25 +0900 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2018-11-29 10:59:40 +0100 |
commit | 9adcfaffc34d53e498637237fb3701560359d50b (patch) | |
tree | d417bb7adf4be5bfc0c4519182f49541306ffad9 /include/linux/printk.h | |
parent | c7c3f05e341a9a2bd1a92993d4f996cfd6e7348e (diff) |
printk: Make printk_emit() local function.
printk_emit() is called from only devkmsg_write() in the same file.
Save object size by making it a local function.
Link: http://lkml.kernel.org/r/5cc99d2c-c408-34f7-d1fc-e1cd2a9e31da@i-love.sakura.ne.jp
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'include/linux/printk.h')
-rw-r--r-- | include/linux/printk.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h index cf3eccfe1543..55aa96975fa2 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -166,11 +166,6 @@ int vprintk_emit(int facility, int level, asmlinkage __printf(1, 0) int vprintk(const char *fmt, va_list args); -asmlinkage __printf(5, 6) __cold -int printk_emit(int facility, int level, - const char *dict, size_t dictlen, - const char *fmt, ...); - asmlinkage __printf(1, 2) __cold int printk(const char *fmt, ...); |