From: Heinrich Schuchardt Date: Sun, 18 Mar 2018 10:01:23 +0000 (+0100) Subject: bios_emulator: remove assignment without effect X-Git-Tag: v2025.01-rc5-pxa1908~3899 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=f53424e65065c355527f778f65006ff608bb2e6a;p=u-boot.git 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 --- 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;