mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 15:44:02 +08:00
[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
|
||||
struct kimage *image;
|
||||
image = xchg(&kexec_image, 0);
|
||||
image = xchg(&kexec_image, NULL);
|
||||
if (!image) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user