Markus Armbruster ae4a2bd759 s390x: Replace unchecked qdev_init() by qdev_init_nofail()
s390_flic_init() is a helper to create and realize either
"s390-flic-kvm" or "s390-flic-qemu".  When qdev_init() fails, it
complains to stderr and succeeds.

Except it can't actually fail, because the "s390-flic-qemu" is a dummy
without a realize method, and "s390-flic-kvm"'s realize can't fail,
even when the kernel device is really unavailable.  Odd.

Replace qdev_init() by qdev_init_nofail() to make "can't fail" locally
obvious, and get rid of the unreachable error reporting.

Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-Id: <1423128889-18260-4-git-send-email-armbru@redhat.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2015-03-16 10:15:44 +01:00
..
2015-03-10 08:15:34 +03:00
2015-03-11 16:30:33 +00:00
2015-03-12 09:13:07 +00:00
2014-11-04 23:26:12 +01:00
2015-03-10 14:01:22 +00:00
2015-02-26 12:42:18 +01:00
2015-03-12 15:49:57 +01:00
2015-03-10 17:07:28 +01:00
2015-03-09 15:00:07 +01:00
2014-10-24 12:19:11 +01:00
2015-03-12 09:13:07 +00:00
2015-03-12 09:13:07 +00:00
2015-03-11 08:44:59 +00:00
2015-03-10 17:07:28 +01:00
2015-03-11 18:24:13 +01:00
2015-03-10 08:15:33 +03:00