KVM: rearrange injection cancelling code
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 24 Jun 2012 16:25:00 +0000 (19:25 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 25 Jun 2012 09:40:50 +0000 (12:40 +0300)
Each time we need to cancel injection we invoke same code
(cancel_injection callback).  Move it towards the end of function using
the familiar goto on error pattern.

Will make it easier to do more cleanups for PV EOI.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found