From: Michal Orzel Date: Wed, 27 Apr 2022 09:49:35 +0000 (+0200) Subject: efi/boot.c: Remove unused-but-set variable X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~690 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9b4f9b9af235e21568f8882e8137397af7f86414;p=xen.git efi/boot.c: Remove unused-but-set variable Function efi_start defines and sets a variable size but does not make use of it. Remove this variable. Signed-off-by: Michal Orzel Reviewed-by: Jan Beulich --- diff --git a/xen/common/efi/boot.c b/xen/common/efi/boot.c index ac1b235372..a25e1d29f1 100644 --- a/xen/common/efi/boot.c +++ b/xen/common/efi/boot.c @@ -1226,9 +1226,9 @@ efi_start(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) { EFI_FILE_HANDLE dir_handle; EFI_HANDLE gop_handle; - UINTN depth, cols, rows, size; + UINTN depth, cols, rows; - size = cols = rows = depth = 0; + cols = rows = depth = 0; if ( StdOut->QueryMode(StdOut, StdOut->Mode->Mode, &cols, &rows) == EFI_SUCCESS )