aboutsummaryrefslogtreecommitdiff
path: root/hw/parallel.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-11-07 10:05:03 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-11-07 10:05:03 +0000
commit44a9935465b1cd79547807a431232177362ef43e (patch)
tree7ffc76576dd2745a8fc7ef3dc8406757cf2b417e /hw/parallel.c
parente43941318d22795df91682fec6720540ede6ad02 (diff)
Sparc64/x86: remove unneeded calls to device reset
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/parallel.c')
-rw-r--r--hw/parallel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/parallel.c b/hw/parallel.c
index 79fa8f66b4..5ae8348da0 100644
--- a/hw/parallel.c
+++ b/hw/parallel.c
@@ -471,7 +471,6 @@ static int parallel_isa_initfn(ISADevice *dev)
base = isa->iobase;
isa_init_irq(dev, &s->irq, isa->isairq);
- parallel_reset(s);
qemu_register_reset(parallel_reset, s);
if (qemu_chr_ioctl(s->chr, CHR_IOCTL_PP_READ_STATUS, &dummy) == 0) {
@@ -576,7 +575,6 @@ ParallelState *parallel_mm_init(target_phys_addr_t base, int it_shift, qemu_irq
s->irq = irq;
s->chr = chr;
s->it_shift = it_shift;
- parallel_reset(s);
qemu_register_reset(parallel_reset, s);
io_sw = cpu_register_io_memory(parallel_mm_read_sw, parallel_mm_write_sw, s);