projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2de68
)
efi/boot.c: Remove unused-but-set variable
author
Michal Orzel
<michal.orzel@arm.com>
Wed, 27 Apr 2022 09:49:35 +0000
(11:49 +0200)
committer
Stefano Stabellini
<stefano.stabellini@xilinx.com>
Wed, 27 Apr 2022 22:20:33 +0000
(15:20 -0700)
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@arm.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/efi/boot.c
patch
|
blob
|
history
diff --git
a/xen/common/efi/boot.c
b/xen/common/efi/boot.c
index ac1b2353720b33fe2466b1434e8824c18fb77f1f..a25e1d29f1ee9f2837b88fa553ed88a5f3fbaec6 100644
(file)
--- 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 )