Skip to content

Commit 61ff72f

Browse files
Kefeng Wangpmladek
authored andcommitted
printk: Drop pr_warning definition
With all pr_warning are removed, saftely drop pr_warning definition. Link: http://lkml.kernel.org/r/[email protected] To: [email protected] To: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Kefeng Wang <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
1 parent ee19545 commit 61ff72f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/linux/printk.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,8 @@ extern int kptr_restrict;
302302
printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__)
303303
#define pr_err(fmt, ...) \
304304
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
305-
#define pr_warning(fmt, ...) \
305+
#define pr_warn(fmt, ...) \
306306
printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
307-
#define pr_warn pr_warning
308307
#define pr_notice(fmt, ...) \
309308
printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
310309
#define pr_info(fmt, ...) \

0 commit comments

Comments
 (0)