virtio-ccw: clean up notify
commit7a5342e7ccf2deb5553951024d57ec1327c926dd
authorHalil Pasic <pasic@linux.ibm.com>
Wed, 16 May 2018 13:27:57 +0000 (16 15:27 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 18 Jun 2018 08:50:32 +0000 (18 10:50 +0200)
tree52898c95867579df071295a37a720e4839483ada
parent2ef2f16781af9dee6ba6517755e9073ba5799fa2
virtio-ccw: clean up notify

Coverity recently started complaining about virtio_ccw_notify().  Turns
out, there is a couple of things that can be cleaned up.  Let's clean!

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Fixes: CID 1390619
Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Message-Id: <20180516132757.68558-1-pasic@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/virtio-ccw.c