diff --git a/kernel/kexec.c b/kernel/kexec.c index 2348bd6ef2af52aed12c7f04171b61c4f19c1950..855bfbbf4048699b827601c3f9e122a1f8df738c 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c @@ -242,8 +242,6 @@ static int kimage_normal_alloc(struct kimage **rimage, unsigned long entry, if (result) goto out; - *rimage = image; - /* * Find a location for the control code buffer, and add it * the vector of segments so that it's pages will also be