diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2018-08-06 15:26:54 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-08-08 15:28:47 +0000 |
commit | d3131e416417b537a0e93f72d8f0c6cd3d27e092 (patch) | |
tree | 47af0632f0fca0ebee392a7ea5975ea0bae30de9 /src/lib/memrange.c | |
parent | 2b68cb08a88117c2cc452a5a4f75f5c8fc401f21 (diff) |
lib/bootmem.c: Remove unused setting of variable "begin"
The variable "begin" is extracted from the structure, but 4 lines below
it's overwritten with "end - size". This causes a static build scan error
that should be fixed. Remove the initial assignment of variable "begin".
BUG=b:112253891
TEST=Build and boot grunt.
Change-Id: I0a265747e61289f045c5cac09e40478bd31e16fc
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/27886
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib/memrange.c')
0 files changed, 0 insertions, 0 deletions