diff options
author | Tetsuo Handa <[email protected]> | 2020-05-25 00:32:43 +0900 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2020-05-25 10:48:59 +0200 |
commit | eb012d125a2419786f5bcaaf8a901babc7b6e3d7 (patch) | |
tree | bf3fed9ad863619092aa2d9dbb2f747294277e62 | |
parent | 48021f98130880dd74286459a1ef48b5e9bc374f (diff) |
printk: Remove pr_cont_once()
pr_cont_once() does not make sense; at least emitting module name using
pr_fmt() into middle of a line (after e.g. pr_info_once()) does not make
sense. Let's remove unused pr_cont_once().
Link: https://lore.kernel.org/r/[email protected]
Cc: Joe Perches <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
Acked-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
-rw-r--r-- | include/linux/printk.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h index e061635e0409..07f2d08f79ff 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -384,8 +384,7 @@ extern int kptr_restrict; printk_once(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) #define pr_info_once(fmt, ...) \ printk_once(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) -#define pr_cont_once(fmt, ...) \ - printk_once(KERN_CONT pr_fmt(fmt), ##__VA_ARGS__) +/* no pr_cont_once, don't do that... */ #if defined(DEBUG) #define pr_devel_once(fmt, ...) \ |