Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
fb38b321
Commit
fb38b321
authored
Jul 24, 2021
by
longpanda
Browse files
Code Optimization
parent
7b78fe55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
EDK2/edk2_mod/edk2-edk2-stable201911/MdeModulePkg/Application/Ventoy/VentoyProtocol.c
...le201911/MdeModulePkg/Application/Ventoy/VentoyProtocol.c
+0
-3
No files found.
EDK2/edk2_mod/edk2-edk2-stable201911/MdeModulePkg/Application/Ventoy/VentoyProtocol.c
View file @
fb38b321
...
@@ -628,7 +628,6 @@ STATIC UINTN ventoy_get_current_device_path_id(VOID)
...
@@ -628,7 +628,6 @@ STATIC UINTN ventoy_get_current_device_path_id(VOID)
{
{
UINTN
i
=
0
;
UINTN
i
=
0
;
UINTN
Count
=
0
;
UINTN
Count
=
0
;
UINTN
NameLen
=
0
;
UINTN
MaxId
=
0
;
UINTN
MaxId
=
0
;
UINTN
CurId
=
0
;
UINTN
CurId
=
0
;
BOOLEAN
Find
=
FALSE
;
BOOLEAN
Find
=
FALSE
;
...
@@ -637,8 +636,6 @@ STATIC UINTN ventoy_get_current_device_path_id(VOID)
...
@@ -637,8 +636,6 @@ STATIC UINTN ventoy_get_current_device_path_id(VOID)
EFI_DEVICE_PATH_PROTOCOL
*
DevicePath
=
NULL
;
EFI_DEVICE_PATH_PROTOCOL
*
DevicePath
=
NULL
;
VENDOR_DEVICE_PATH
*
venPath
=
NULL
;
VENDOR_DEVICE_PATH
*
venPath
=
NULL
;
NameLen
=
StrSize
(
L"ventoy_xxx"
);
Status
=
gBS
->
LocateHandleBuffer
(
ByProtocol
,
&
gEfiDevicePathProtocolGuid
,
Status
=
gBS
->
LocateHandleBuffer
(
ByProtocol
,
&
gEfiDevicePathProtocolGuid
,
NULL
,
&
Count
,
&
Handles
);
NULL
,
&
Count
,
&
Handles
);
if
(
EFI_ERROR
(
Status
))
if
(
EFI_ERROR
(
Status
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment