mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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>
This commit is contained in:
parent
1374bec063
commit
829b933b70
5 changed files with 5 additions and 13 deletions
|
@ -433,7 +433,7 @@ struct IDEDMAOps {
|
|||
DMAIntFunc *rw_buf;
|
||||
DMAIntFunc *set_unit;
|
||||
DMAIntFunc *add_status;
|
||||
DMAFunc *set_inactive;
|
||||
DMAVoidFunc *set_inactive;
|
||||
DMAFunc *async_cmd_done;
|
||||
DMARestartFunc *restart_cb;
|
||||
DMAVoidFunc *reset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue