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().
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -384,8 +384,7 @@ extern int kptr_restrict; · 383 unmodified lines | ||
| 384 | 384 | printk_once(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) |
| 385 | 385 | #define pr_info_once(fmt, ...) \ |
| 386 | 386 | 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... */ | |
| 389 | 388 | |
| 390 | 389 | #if defined(DEBUG) |
| 391 | 390 | #define pr_devel_once(fmt, ...) \ |