From 759881b134c11ca3aee9ec58fdcfcec6bb3b1f6f Mon Sep 17 00:00:00 2001 From: Jianyong Wu Date: Wed, 19 Jul 2023 05:36:49 +0000 Subject: [PATCH] efi: remove useless line Signed-off-by: Jianyong Wu --- src/efi/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/efi/mod.rs b/src/efi/mod.rs index c5a4ab10..23048807 100644 --- a/src/efi/mod.rs +++ b/src/efi/mod.rs @@ -614,7 +614,6 @@ pub extern "efiapi" fn install_configuration_table(guid: *mut Guid, table: *mut for entry in ct.iter_mut() { if entry.vendor_guid == unsafe { *guid } { - entry.vendor_table = table; if table.is_null() { entry.vendor_guid = INVALID_GUID; entry.vendor_table = null_mut();