diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 20:42:43 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 20:42:43 +0000 |
commit | a303f9e37b87ced34e966dc2c0b7f86bc5e74035 (patch) | |
tree | dceb3f0c7c9e3a298f0883194d332fd95e892e3c /hw/r2d.c | |
parent | 9fad3eb7fa27616846b1ef477947771337bbe0fd (diff) | |
download | qemu-a303f9e37b87ced34e966dc2c0b7f86bc5e74035.zip qemu-a303f9e37b87ced34e966dc2c0b7f86bc5e74035.tar.gz qemu-a303f9e37b87ced34e966dc2c0b7f86bc5e74035.tar.bz2 |
sh4: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/r2d.c')
-rw-r--r-- | hw/r2d.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -229,7 +229,6 @@ static void r2d_init(ram_addr_t ram_size, struct SH7750State *s; ram_addr_t sdram_addr; qemu_irq *irq; - PCIBus *pci; DriveInfo *dinfo; int i; @@ -248,7 +247,7 @@ static void r2d_init(ram_addr_t ram_size, /* Register peripherals */ s = sh7750_init(env); irq = r2d_fpga_init(0x04000000, sh7750_irl(s)); - pci = sh_pci_register_bus(r2d_pci_set_irq, r2d_pci_map_irq, irq, 0, 4); + sh_pci_register_bus(r2d_pci_set_irq, r2d_pci_map_irq, irq, 0, 4); sm501_init(0x10000000, SM501_VRAM_SIZE, irq[SM501], serial_hds[2]); |