[PATCH] kernel/sys.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
53f087febf
commit
4bb8089c86
@ -428,7 +428,7 @@ void kernel_kexec(void)
|
|||||||
{
|
{
|
||||||
#ifdef CONFIG_KEXEC
|
#ifdef CONFIG_KEXEC
|
||||||
struct kimage *image;
|
struct kimage *image;
|
||||||
image = xchg(&kexec_image, 0);
|
image = xchg(&kexec_image, NULL);
|
||||||
if (!image) {
|
if (!image) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user