From: Al Viro Date: Wed, 1 Feb 2006 10:57:32 +0000 (-0500) Subject: [PATCH] kernel/sys.c NULL noise removal X-Git-Tag: v2.6.16-rc3~83 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bb8089c86b95b4f6bbd839cb83ca4556b06a031;p=linux-2.6 [PATCH] kernel/sys.c NULL noise removal Signed-off-by: Al Viro --- diff --git a/kernel/sys.c b/kernel/sys.c index 0929c698af..f91218a546 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -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; }