浏览代码

[PATCH] kernel/sys.c NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 19 年之前
父节点
当前提交
4bb8089c86
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/sys.c

+ 1 - 1
kernel/sys.c

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