diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-02-04 18:33:02 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-02-24 00:19:05 +0100 |
commit | e25b89e5208564220b9ea3a728f899b37ff6dc2d (patch) | |
tree | 84b962357dcd2d18c54b73c6f612bc1bbd38edb8 /translate-all.h | |
parent | c4bacafb717de55538311b80a185ce9166b8daa2 (diff) | |
download | qemu-e25b89e5208564220b9ea3a728f899b37ff6dc2d.tar.gz qemu-e25b89e5208564220b9ea3a728f899b37ff6dc2d.tar.bz2 qemu-e25b89e5208564220b9ea3a728f899b37ff6dc2d.zip |
ide/isa: Replace unchecked qdev_init() by qdev_init_nofail()
isa_ide_init()'s callers don't check for failure. isa_ide_init()
looks like it could fail, but since isa_ide_realizefn() can't fail, it
actually can't. Replace its qdev_init() by qdev_init_nofail() to make
it obvious.
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'translate-all.h')
0 files changed, 0 insertions, 0 deletions