Re: [PATCH][next] iio: accel: adxl367: Remove second semicolon
From: Nuno Sá
Date: Fri Mar 15 2024 - 07:47:51 EST
On Fri, 2024-03-15 at 09:14 +0000, Colin Ian King wrote:
> There is a statement with two semicolons. Remove the second one, it
> is redundant.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
> ---
Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx>
> drivers/iio/accel/adxl367.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/accel/adxl367.c b/drivers/iio/accel/adxl367.c
> index 210228affb80..5cf4828a5eb5 100644
> --- a/drivers/iio/accel/adxl367.c
> +++ b/drivers/iio/accel/adxl367.c
> @@ -621,7 +621,7 @@ static int _adxl367_set_odr(struct adxl367_state *st, enum
> adxl367_odr odr)
> static int adxl367_set_odr(struct iio_dev *indio_dev, enum adxl367_odr odr)
> {
> iio_device_claim_direct_scoped(return -EBUSY, indio_dev) {
> - struct adxl367_state *st = iio_priv(indio_dev);;
> + struct adxl367_state *st = iio_priv(indio_dev);
> int ret;
>
> guard(mutex)(&st->lock);