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

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

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