boot, efi: Remove redundant memset()
authorRoy Franz <roy.franz@linaro.org>
Fri, 4 Oct 2013 16:02:46 +0000 (09:02 -0700)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 4 Oct 2013 19:07:47 +0000 (20:07 +0100)
commitc158c3bf59951bbb44bd7ccca9e6665dfd1617c5
treeee222f5f61f82555dd1422dcdf673dbcd6142bd4
parent722da9d20e7f203ddbb54aba32f95a020d41fc42
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>
drivers/firmware/efi/efi-stub-helper.c