Re: [PATCH] KVM: s390: remove unneeded semicolon in gisa_vcpu_kicker()

From: Cornelia Huck
Date: Mon Apr 20 2020 - 02:46:47 EST


On Sat, 18 Apr 2020 16:19:26 +0800
Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> Fix the following coccicheck warning:
>
> arch/s390/kvm/interrupt.c:3085:2-3: Unneeded semicolon
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Fixes: 9f30f6216378 ("KVM: s390: add gib_alert_irq_handler()")

> ---
> arch/s390/kvm/interrupt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
> index 8191106bf7b9..559177123d0f 100644
> --- a/arch/s390/kvm/interrupt.c
> +++ b/arch/s390/kvm/interrupt.c
> @@ -3082,7 +3082,7 @@ static enum hrtimer_restart gisa_vcpu_kicker(struct hrtimer *timer)
> __airqs_kick_single_vcpu(kvm, pending_mask);
> hrtimer_forward_now(timer, ns_to_ktime(gi->expires));
> return HRTIMER_RESTART;
> - };
> + }
>
> return HRTIMER_NORESTART;
> }

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>