]> git.baikalelectronics.ru Git - kernel.git/commit
printk: Make printk_emit() local function.
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Sat, 24 Nov 2018 04:10:25 +0000 (13:10 +0900)
committerPetr Mladek <pmladek@suse.com>
Thu, 29 Nov 2018 09:59:40 +0000 (10:59 +0100)
commit9da552a4fdf7a2ab9127b48e9cf6c5b1b907f712
treed417bb7adf4be5bfc0c4519182f49541306ffad9
parent22cd61611ab4cedc776286d8a346f610fee900b3
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>
include/linux/printk.h
kernel/printk/printk.c