Commit 9b4f9b9a authored by Michal Orzel's avatar Michal Orzel Committed by Stefano Stabellini

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: default avatarMichal Orzel <>
Reviewed-by: default avatarJan Beulich <>
parent 2a2de68a
......@@ -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 )
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment