diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-07-11 14:22:16 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-07-12 23:38:47 +0200 |
commit | 0dd655f8a845cd168e64fcb786fd01d3d3c918cf (patch) | |
tree | 257aec19de65ccf3a2e46c2cd4220cd2d4b7bf91 /src | |
parent | edfcce80b2dc474f0701786e8d44a11d59deeb13 (diff) | |
download | coreboot-0dd655f8a845cd168e64fcb786fd01d3d3c918cf.tar.xz |
lib/selfboot: remove duplicate prog_set_area()
There were two successive calls to prog_set_area() which
duplicated the same logic. Remove the unnecessary redundancy.
Change-Id: I594577f8e7e78d403e7a5656f78e784e98c2c859
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/15602
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/selfboot.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/selfboot.c b/src/lib/selfboot.c index 61784152dd..832dad5421 100644 --- a/src/lib/selfboot.c +++ b/src/lib/selfboot.c @@ -508,9 +508,6 @@ void *selfload(struct prog *payload) /* Update the payload's area with the bounce buffer information. */ prog_set_area(payload, (void *)(uintptr_t)bounce_buffer, bounce_size); - /* Update the payload's area with the bounce buffer information. */ - prog_set_area(payload, (void *)(uintptr_t)bounce_buffer, bounce_size); - return (void *)entry; out: |