projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Eliminate various issues brought up by scan-build.
[coreboot.git]
/
src
/
boot
/
elfboot.c
diff --git
a/src/boot/elfboot.c
b/src/boot/elfboot.c
index ed15e96fe7b1a3c8de622e98cb24770f89fd079d..acffb634dac94e643f3989bb9e57e9cd3037eacb 100644
(file)
--- 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,