aboutsummaryrefslogtreecommitdiff
path: root/cmd/efidebug.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-10-15 02:03:55 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-10-21 03:46:04 +0200
commit05345425cab4202b356085afcac485614a9b52a9 (patch)
treef5f6112625fd86ac4e795dfdf8561177ef5c1e82 /cmd/efidebug.c
parentfc42b8bb75927e81f5c774e677abb990d23f0c38 (diff)
downloadu-boot-05345425cab4202b356085afcac485614a9b52a9.zip
u-boot-05345425cab4202b356085afcac485614a9b52a9.tar.gz
u-boot-05345425cab4202b356085afcac485614a9b52a9.tar.bz2
efi_loader: efi_dp_from_lo() unused parameter size
Parameter size is never used in function efi_dp_from_lo(). Remove it. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'cmd/efidebug.c')
-rw-r--r--cmd/efidebug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/efidebug.c b/cmd/efidebug.c
index 70a4658..33a5135 100644
--- a/cmd/efidebug.c
+++ b/cmd/efidebug.c
@@ -1144,7 +1144,6 @@ static void show_efi_boot_opt_data(u16 *varname16, void *data, size_t *size)
struct efi_device_path *initrd_path = NULL;
struct efi_load_option lo;
efi_status_t ret;
- efi_uintn_t initrd_dp_size;
const efi_guid_t lf2_initrd_guid = EFI_INITRD_MEDIA_GUID;
ret = efi_deserialize_load_option(&lo, data, size);
@@ -1166,7 +1165,7 @@ static void show_efi_boot_opt_data(u16 *varname16, void *data, size_t *size)
printf(" file_path: %pD\n", lo.file_path);
- initrd_path = efi_dp_from_lo(&lo, &initrd_dp_size, &lf2_initrd_guid);
+ initrd_path = efi_dp_from_lo(&lo, &lf2_initrd_guid);
if (initrd_path) {
printf(" initrd_path: %pD\n", initrd_path);
efi_free_pool(initrd_path);