OSDN Git Service

hw/s390x/virtio-ccw: Consolidate calls to virtio_ccw_unrealize()
authorThomas Huth <thuth@redhat.com>
Wed, 25 Jul 2018 12:20:15 +0000 (14:20 +0200)
committerCornelia Huck <cohuck@redhat.com>
Tue, 28 Aug 2018 15:37:01 +0000 (17:37 +0200)
commit2d6ff33a03332d2a7dc0ece31a8eb8d49c0194ee
treece6aac0fb32675c8672d0274a452be3ebc15cb60
parent3cea09271b3b3a0c4d0ffa3b56ea671bf75d82c3
hw/s390x/virtio-ccw: Consolidate calls to virtio_ccw_unrealize()

Currently, every virtio-ccw device explicitely sets its unrealize
function to virtio_ccw_unrealize() in its class_init function.
We can simplify this by using a common unrealize function, just like
it is already done for the realize functions.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1532521224-27235-2-git-send-email-thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/virtio-ccw.c