mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00: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