Commit 505a27a
printk: console: remove unnecessary safe buffer usage
Upon registering a console, safe buffers are activated when setting
up the sequence number to replay the log. However, these are already
protected by @console_sem and @syslog_lock. Remove the unnecessary
safe buffer usage.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent a4f9876 commit 505a27a
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2967 | 2967 | | |
2968 | 2968 | | |
2969 | 2969 | | |
2970 | | - | |
2971 | | - | |
2972 | | - | |
| 2970 | + | |
2973 | 2971 | | |
2974 | 2972 | | |
2975 | 2973 | | |
| |||
2982 | 2980 | | |
2983 | 2981 | | |
2984 | 2982 | | |
2985 | | - | |
| 2983 | + | |
2986 | 2984 | | |
2987 | | - | |
2988 | | - | |
2989 | | - | |
| 2985 | + | |
2990 | 2986 | | |
2991 | 2987 | | |
2992 | 2988 | | |
| |||
0 commit comments