ide: call ide_cmd_done from ide_transfer_stop
commitee4cd662addd2ef51c5bc33e57f7fc6cdee830a0
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jun 2018 19:09:52 +0000 (6 15:09 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 8 Jun 2018 17:36:31 +0000 (8 13:36 -0400)
treef96d2729b0f99f1dd7dccc156cc050c22d9c2bf5
parentbed9bcfa3275a9cfee82846a9f521c4858a9739a
ide: call ide_cmd_done from ide_transfer_stop

The code can simply be moved to the sole caller that has notify == true.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180606190955.20845-5-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/core.c