diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-04 17:11:07 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-08-15 18:03:12 +0100 |
commit | 829b933b704a329d60d2ea1fe4c8e8e0a5505d8a (patch) | |
tree | 3533aeabdd24bf42908a34f1812db07f0d60c56c /hw/ide/macio.c | |
parent | 1374bec0634aac9a460fe3b57bbe8b1aa7a99cb7 (diff) |
ide: simplify set_inactive 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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c index ca39e3f9b6..0e26bac67f 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -576,7 +576,6 @@ static const IDEDMAOps dbdma_ops = { .rw_buf = ide_nop_int, .set_unit = ide_nop_int, .add_status = ide_nop_int, - .set_inactive = ide_nop, .restart_cb = ide_nop_restart, }; |