]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaec90f792ed0cc7f0ec9853ea4bb5e489922a0e5
treed89642f127ad11ada98a3cf2a2206d7ef6f2af25
parent1d731a17c9e6807bea55e7ea4a4e2fe3f578a2a5
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