Re: [PATCH] media: imx296: Remove redundant semicolons
From: Laurent Pinchart
Date: Wed Aug 13 2025 - 06:40:14 EST
On Wed, Aug 13, 2025 at 11:18:16AM +0100, Kieran Bingham wrote:
> Quoting Liao Yuanhong (2025-08-13 10:47:46)
> > Remove unnecessary semicolons.
>
> Well ... there's only one so it's not plural ;-) but indeed this is very
> redundant!
>
> Reviewed-by: Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx>
Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> >
> > Signed-off-by: Liao Yuanhong <liaoyuanhong@xxxxxxxx>
> > ---
> > drivers/media/i2c/imx296.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/media/i2c/imx296.c b/drivers/media/i2c/imx296.c
> > index f3bec16b527c..cbbe0e7a37a9 100644
> > --- a/drivers/media/i2c/imx296.c
> > +++ b/drivers/media/i2c/imx296.c
> > @@ -922,7 +922,7 @@ static int imx296_read_temperature(struct imx296 *sensor, int *temp)
> >
> > tmdout &= IMX296_TMDOUT_MASK;
> >
> > - /* T(��C) = 246.312 - 0.304 * TMDOUT */;
> > + /* T(��C) = 246.312 - 0.304 * TMDOUT */
> > *temp = 246312 - 304 * tmdout;
> >
> > return imx296_write(sensor, IMX296_TMDCTRL, 0, NULL);
--
Regards,
Laurent Pinchart