boot, efi: Remove redundant memset()
authorRoy Franz <roy.franz@linaro.org>
Fri, 4 Oct 2013 16:02:46 +0000 (09:02 -0700)
committerMark Brown <broonie@linaro.org>
Mon, 16 Jun 2014 20:18:45 +0000 (21:18 +0100)
commite71568252c280a4c88c888e5372821c275abc101
tree015f7eb904d5f2a20762eb63f2c605d2d0272633
parent5edf9a137d25f1b95866eaa7d9948b9b36e5776a
boot, efi: Remove redundant memset()

Remove a redundant memset() call from efi_relocate_kernel() that
was clearing memory that would be used by BSS in non-compressed
images loaded with this function.  This clear was redundant with
the clearing done in the image itself, and also implemented incorrectly
with a 0 length.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Acked-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
(cherry picked from commit c158c3bf59951bbb44bd7ccca9e6665dfd1617c5)
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/firmware/efi/efi-stub-helper.c