Re: [PATCH] drivers:gpio: Remove unneeded semicolon
From: Viresh Kumar
Date: Tue Nov 09 2021 - 04:21:30 EST
On 09-11-21, 08:23, cgel.zte@xxxxxxxxx wrote:
> From: chiminghao <chi.minghao@xxxxxxxxxx>
>
> Fix the following coccicheck REVIEW:
> ./drivers/gpio/gpio-virtio.c:437:2-3 REVIEW Unneeded semicolon
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: chiminghao <chi.minghao@xxxxxxxxxx>
> ---
> drivers/gpio/gpio-virtio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c
> index aeec4bf0b625..84f96b78f32a 100644
> --- a/drivers/gpio/gpio-virtio.c
> +++ b/drivers/gpio/gpio-virtio.c
> @@ -434,7 +434,7 @@ static void virtio_gpio_event_vq(struct virtqueue *vq)
> ret = generic_handle_domain_irq(vgpio->gc.irq.domain, gpio);
> if (ret)
> dev_err(dev, "failed to handle interrupt: %d\n", ret);
> - };
> + }
> }
>
> static void virtio_gpio_request_vq(struct virtqueue *vq)
A similar patch was already reviewed earlier:
https://lore.kernel.org/all/1636344232-56537-1-git-send-email-yang.lee@xxxxxxxxxxxxxxxxx/
--
viresh