[PATCH] KVM: x86:Fix warnings in irq.c

From: shijie001
Date: Tue Jul 11 2023 - 22:57:39 EST


The following checkpatch warning is removed:
WARNING: Missing a blank line after declarations

Signed-off-by: Jie Shi <shijie001@xxxxxxxxxx>
---
arch/x86/kvm/irq.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/kvm/irq.c b/arch/x86/kvm/irq.c
index b2c397dd2bc6..e03757eee8c9 100644
--- a/arch/x86/kvm/irq.c
+++ b/arch/x86/kvm/irq.c
@@ -136,6 +136,7 @@ static int kvm_cpu_get_extint(struct kvm_vcpu *v)
int kvm_cpu_get_interrupt(struct kvm_vcpu *v)
{
int vector = kvm_cpu_get_extint(v);
+
if (vector != -1)
return vector; /* PIC */