History

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().

Tetsuo Handa committed 6 years ago

Commit eb012d11 parent 48021f91 file · +1 −2Browse files

Unified · Split

include/linux/printk.h+1−2
@@ -384,8 +384,7 @@ extern int kptr_restrict; · 383 unmodified lines
384384 printk_once(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
385385 #define pr_info_once(fmt, ...) \
386386 printk_once(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
387−#define pr_cont_once(fmt, ...) \
388− printk_once(KERN_CONT pr_fmt(fmt), ##__VA_ARGS__)
387+/* no pr_cont_once, don't do that... */
389388
390389 #if defined(DEBUG)
391390 #define pr_devel_once(fmt, ...) \