Skip to contentSkip to conversation

Kexec: Remove duplicate rimage

PATCH New Magnus Damm 1 participant 1 message Apr 12, 2006 kexec

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kexec: Remove duplicate rimage

Kexec: Remove duplicate rimage

*rimage is already set to image before returning in kimage_normal_alloc().

---

Applies on top of linux-2.6.17-rc1-git5

 kexec.c |    2 --
 1 files changed, 2 deletions(-)
kernel/kexec.c +0 -2
@@ -218,8 +218,6 @@ static int kimage_normal_alloc(struct ki
 	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