From 40d07f38195f205926cd42780dd769e54e796484 Mon Sep 17 00:00:00 2001 From: Jianyong Wu Date: Wed, 19 Jul 2023 05:36:49 +0000 Subject: [PATCH] efi: Remove useless assignment This variable will be immediately overwritten later in this function. 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 93641768..612707a3 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();