]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - EDK2/edk2_mod/edk2-edk2-stable201911/MdeModulePkg/Application/Ventoy/VentoyProtocol.c
Improve English Language (#963)
[Ventoy.git] / EDK2 / edk2_mod / edk2-edk2-stable201911 / MdeModulePkg / Application / Ventoy / VentoyProtocol.c
index a5610e57bb57afa474627746a2a8907d361006ce..293ffc952048a8d221cf4ca94759eb5d369e0f9f 100644 (file)
@@ -628,7 +628,6 @@ STATIC UINTN ventoy_get_current_device_path_id(VOID)
 {
     UINTN i = 0;
     UINTN Count = 0;
-    UINTN NameLen = 0;
     UINTN MaxId = 0;
     UINTN CurId = 0;
     BOOLEAN Find = FALSE;
@@ -637,8 +636,6 @@ STATIC UINTN ventoy_get_current_device_path_id(VOID)
     EFI_DEVICE_PATH_PROTOCOL *DevicePath = NULL;
     VENDOR_DEVICE_PATH *venPath = NULL;
     
-    NameLen = StrSize(L"ventoy_xxx");
-    
     Status = gBS->LocateHandleBuffer(ByProtocol, &gEfiDevicePathProtocolGuid, 
                                      NULL, &Count, &Handles);
     if (EFI_ERROR(Status))