Skip to content

Commit 40d07f3

Browse files
jongwuretrage
authored andcommitted
efi: Remove useless assignment
This variable will be immediately overwritten later in this function. Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
1 parent 2e0975f commit 40d07f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/efi/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,6 @@ pub extern "efiapi" fn install_configuration_table(guid: *mut Guid, table: *mut
614614

615615
for entry in ct.iter_mut() {
616616
if entry.vendor_guid == unsafe { *guid } {
617-
entry.vendor_table = table;
618617
if table.is_null() {
619618
entry.vendor_guid = INVALID_GUID;
620619
entry.vendor_table = null_mut();

0 commit comments

Comments
 (0)