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().
Unified · Split
| @@ -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, ...) \ |