summaryrefslogtreecommitdiff
path: root/hw/ide/macio.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-08-04 17:11:06 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2014-08-15 18:03:12 +0100
commit1374bec0634aac9a460fe3b57bbe8b1aa7a99cb7 (patch)
tree544def307c14f511d60dfcb892bed7a700ced519 /hw/ide/macio.c
parent69f72a22213a6909bf4aef06133c976b508e370a (diff)
downloadqemu-1374bec0634aac9a460fe3b57bbe8b1aa7a99cb7.tar.gz
ide: simplify reset callbacks
Drop the unused return value and make the callback optional. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/ide/macio.c')
-rw-r--r--hw/ide/macio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index c14a1ddddb..ca39e3f9b6 100644
--- a/hw/ide/macio.c
+++ b/hw/ide/macio.c
@@ -578,7 +578,6 @@ static const IDEDMAOps dbdma_ops = {
.add_status = ide_nop_int,
.set_inactive = ide_nop,
.restart_cb = ide_nop_restart,
- .reset = ide_nop,
};
static void macio_ide_realizefn(DeviceState *dev, Error **errp)