From f53424e65065c355527f778f65006ff608bb2e6a Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sun, 18 Mar 2018 11:01:23 +0100 Subject: [PATCH] bios_emulator: remove assignment without effect Assigning a parameter which is not used afterwards has not effect. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- drivers/bios_emulator/atibios.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bios_emulator/atibios.c b/drivers/bios_emulator/atibios.c index 4a16fc7e1c..4f362d1453 100644 --- a/drivers/bios_emulator/atibios.c +++ b/drivers/bios_emulator/atibios.c @@ -606,7 +606,6 @@ int biosemu_run(pci_dev_t pcidev, uchar *bios_rom, int bios_len, (ulong)(vga_info->BIOSImage) != 0xc0000) free(vga_info->BIOSImage); free(vga_info); - vga_info = NULL; } return 0; -- 2.25.1