summary refs log tree commit diff stats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.ibm.com>2019-11-29 04:17:13 -0500
committerCornelia Huck <cohuck@redhat.com>2019-12-14 10:25:50 +0100
commit15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6 (patch)
tree409fef481ee5279b34dd9536353a750b51433b17 /scripts/switch-timer-api
parent0b7fd817e0f383760e37ca9286150d5816cf0594 (diff)
downloadfocaccia-qemu-15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6.tar.gz
focaccia-qemu-15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6.zip
s390x: kvm: Make kvm_sclp_service_call void
It defaults to returning 0 anyway and that return value is not
necessary, as 0 is also the default rc that the caller would return.

While doing that we can simplify the logic a bit and return early if
we inject a PGM exception.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20191129091713.4582-1-frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions