src/device/pci_rom.c: Remove double initialization
In procedure pci_rom_probe(), variable vendev is initialized twice. Remove one initialization. BUG=b:112253891 TEST=Build and boot grunt. Change-Id: I8a71aa1aea2047ab2d98e09d1d6610de552b6cb4 Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/27949 Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b1299c7aab
commit
5e9785d6e4
|
@ -41,7 +41,7 @@ struct rom_header *pci_rom_probe(struct device *dev)
|
|||
rom_header = cbfs_boot_map_optionrom(dev->vendor, dev->device);
|
||||
|
||||
u32 vendev = (dev->vendor << 16) | dev->device;
|
||||
u32 mapped_vendev = vendev;
|
||||
u32 mapped_vendev;
|
||||
|
||||
mapped_vendev = map_oprom_vendev(vendev);
|
||||
|
||||
|
|
Loading…
Reference in New Issue