KVM: x86: cleanup return handling in setup_routing_entry()
authorDavid Hildenbrand <david@redhat.com>
Fri, 7 Apr 2017 08:50:35 +0000 (10:50 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:14 +0000 (20:17 +0200)
commit8c6b7828c24a69416bcb639d5760c6eaa351fdf9
treed89642f127ad11ada98a3cf2a2206d7ef6f2af25
parent43ae312ca18a0d6d1a363295fa6a2a14a12605e8
KVM: x86: cleanup return handling in setup_routing_entry()

Let's drop the goto and return the error value directly.

Suggested-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
virt/kvm/irqchip.c