aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/s390_flic_kvm.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2020-01-08 11:46:07 -0300
committerCornelia Huck <cohuck@redhat.com>2020-01-27 12:13:09 +0100
commit9208270b6b16110fa0de367d6bc43e99019f967b (patch)
treedcba3666af2391b92de9276aaf0474308eb795b8 /hw/intc/s390_flic_kvm.c
parent65569bbf37a68ea957819fc489dab708308e1588 (diff)
downloadqemu-9208270b6b16110fa0de367d6bc43e99019f967b.zip
qemu-9208270b6b16110fa0de367d6bc43e99019f967b.tar.gz
qemu-9208270b6b16110fa0de367d6bc43e99019f967b.tar.bz2
s390x/event-facility.c: remove unneeded labels
'out' label from write_event_mask() and write_event_data() can be replaced by 'return'. The 'out' label from read_event_data() can also be replaced. However, as suggested by Cornelia Huck, instead of simply replacing the 'out' label, let's also change the code flow a bit to make it clearer that sccb events are always handled regardless of the mask for unconditional reads, while selective reads are handled if the mask is valid. CC: Cornelia Huck <cohuck@redhat.com> CC: Thomas Huth <thuth@redhat.com> CC: Halil Pasic <pasic@linux.ibm.com> CC: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20200108144607.878862-1-danielhb413@gmail.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/intc/s390_flic_kvm.c')
0 files changed, 0 insertions, 0 deletions