mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
cmd646: Remove unused variable
There was a pointer to PCIIDEState in CMD646BAR which was set but not used afterwards. Get rid of this unused variable. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 1e352f091aa601fb2e19771aac46529fe278dd91.1547166960.git.balaton@eik.bme.hu Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
ad7a21e812
commit
2ab2ef0785
2 changed files with 0 additions and 2 deletions
|
@ -123,7 +123,6 @@ static void setup_cmd646_bar(PCIIDEState *d, int bus_num)
|
|||
CMD646BAR *bar = &d->cmd646_bar[bus_num];
|
||||
|
||||
bar->bus = bus;
|
||||
bar->pci_dev = d;
|
||||
memory_region_init_io(&bar->cmd, OBJECT(d), &cmd646_cmd_ops, bar,
|
||||
"cmd646-cmd", 4);
|
||||
memory_region_init_io(&bar->data, OBJECT(d), &cmd646_data_ops, bar,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue