[PATCH] kernel/sys.c NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2006-02-01 05:57:32 -05:00
parent 53f087febf
commit 4bb8089c86

View File

@ -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;
} }