[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] efi/boot.c: Remove unused-but-set variable
commit 9b4f9b9af235e21568f8882e8137397af7f86414 Author: Michal Orzel <michal.orzel@xxxxxxx> AuthorDate: Wed Apr 27 11:49:35 2022 +0200 Commit: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx> CommitDate: Wed Apr 27 15:20:33 2022 -0700 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 <michal.orzel@xxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/common/efi/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |