summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-04-21 20:14:31 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-04-21 20:14:31 +0000
commit16cdbb244cded6f3d8df719b7a0217fdf6bf327d (patch)
tree7bfdc4f7a31c5500d34d57a267249fe994eb9362 /src/boot
parent5cda45d5ec2dc2b112cb7ec1a95b861f1fa9fd2b (diff)
Eliminate various issues brought up by scan-build.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4152 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/elfboot.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/boot/elfboot.c b/src/boot/elfboot.c
index ed15e96fe7..acffb634da 100644
--- a/src/boot/elfboot.c
+++ b/src/boot/elfboot.c
@@ -362,9 +362,6 @@ static void relocate_segment(unsigned long buffer, struct segment *seg)
seg->phdr_next->phdr_prev = new;
seg->phdr_next = new;
- /* compute the new value of end */
- end = start + len;
-
printk_spew(" late: [0x%016lx, 0x%016lx, 0x%016lx)\n",
new->s_addr,
new->s_addr + new->s_filesz,