]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bios_emulator: remove assignment without effect
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Mar 2018 10:01:23 +0000 (11:01 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jul 2018 18:33:21 +0000 (14:33 -0400)
Assigning a parameter which is not used afterwards has not effect.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/bios_emulator/atibios.c

index 4a16fc7e1c2856c34674fc429f0220e17aadfb5c..4f362d1453fa6914854868dd866522130e58d2ea 100644 (file)
@@ -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;