summaryrefslogtreecommitdiffstats
path: root/hw
authorMichael S. Tsirkin <[email protected]>2011-06-14 14:29:34 (GMT)
committer Michael S. Tsirkin <[email protected]>2011-06-15 21:20:12 (GMT)
commit0e6264db2c04dfad79be60240bfacfcaf47f9d6c (patch) (side-by-side diff)
treedfafde7af006a28caf54050aa042654f76bca6c5 /hw
parentefa6435159e4f8a12f8201fadf738f63a8a5132e (diff)
downloadqemu-kvm-0e6264db2c04dfad79be60240bfacfcaf47f9d6c.zip
qemu-kvm-0e6264db2c04dfad79be60240bfacfcaf47f9d6c.tar.gz
qemu-kvm-0e6264db2c04dfad79be60240bfacfcaf47f9d6c.tar.bz2
wdt: remove unused variables
Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-off-by: Isaku Yamahata <[email protected]>
Diffstat (limited to 'hw') (more/less context) (ignore whitespace changes)
-rw-r--r--hw/wdt_i6300esb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c
index bd57fd3..53786ce 100644
--- a/hw/wdt_i6300esb.c
+++ b/hw/wdt_i6300esb.c
@@ -381,7 +381,6 @@ static const VMStateDescription vmstate_i6300esb = {
static int i6300esb_init(PCIDevice *dev)
{
I6300State *d = DO_UPCAST(I6300State, dev, dev);
- uint8_t *pci_conf;
int io_mem;
static CPUReadMemoryFunc * const mem_read[3] = {
i6300esb_mem_readb,
@@ -399,8 +398,6 @@ static int i6300esb_init(PCIDevice *dev)
d->timer = qemu_new_timer_ns(vm_clock, i6300esb_timer_expired, d);
d->previous_reboot_flag = 0;
- pci_conf = d->dev.config;
-
io_mem = cpu_register_io_memory(mem_read, mem_write, d,
DEVICE_NATIVE_ENDIAN);
pci_register_bar_simple(&d->dev, 0, 0x10, 0, io_mem);