summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip/ddr2.c
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2021-09-09 00:30:49 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-09-11 11:02:02 +0200
commit0bf538ce0c6d7cdf68749425e6c9f7b729066367 (patch)
tree93541c7b45aef3f4937e0568dfdf46deeb0fe4c8 /drivers/ddr/microchip/ddr2.c
parent6919619f9cf441290286365c14ed557ad1776886 (diff)
efi_loader: Remove incorrect calls of EFI_CALL in TCG2
There is two unneeded EFI_CALL references in tcg2_measure_pe_image(). The first one in efi_search_protocol() and the second on in the device path calculation. The second isn't even a function we should be calling, but a pointer assignment, which happens to work with the existing macro. While at it switch the malloc call to a calloc, remove the unnecessary cast and get rid of an unneeded if statement before copying the device path Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/ddr/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions