kexec: remove unnecessary KERN_ERR from kexec.c
Remove unnecessary KERN_ERR from pr_err() within kexec.c. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
38351a329d
commit
d5393955c3
|
@ -600,7 +600,7 @@ kimage_file_alloc_init(struct kimage **rimage, int kernel_fd,
|
|||
if (!kexec_on_panic) {
|
||||
image->swap_page = kimage_alloc_control_pages(image, 0);
|
||||
if (!image->swap_page) {
|
||||
pr_err(KERN_ERR "Could not allocate swap buffer\n");
|
||||
pr_err("Could not allocate swap buffer\n");
|
||||
goto out_free_control_pages;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue