]> www.infradead.org Git - users/hch/misc.git/commitdiff
media: i2c: imx214: Remove unneeded parentheses
authorAndré Apitzsch <git@apitzsch.eu>
Mon, 30 Jun 2025 19:05:21 +0000 (21:05 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 25 Aug 2025 13:40:39 +0000 (15:40 +0200)
The parentheses are not needed to calculate bit_rate_mbps.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: André Apitzsch <git@apitzsch.eu>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/imx214.c

index cab013bd6af129597faa7ea296c38c8d78df07c7..eecc3e3e5510587a6261c8888fa7a5ce90ab06db 100644 (file)
@@ -1029,8 +1029,8 @@ static int imx214_start_streaming(struct imx214 *imx214)
                return ret;
        }
 
-       bit_rate_mbps = (imx214->pll.pixel_rate_csi / 1000000)
-                       * imx214->pll.bits_per_pixel;
+       bit_rate_mbps = imx214->pll.pixel_rate_csi / 1000000
+                     * imx214->pll.bits_per_pixel;
        ret = cci_write(imx214->regmap, IMX214_REG_REQ_LINK_BIT_RATE,
                        IMX214_LINK_BIT_RATE_MBPS(bit_rate_mbps), NULL);
        if (ret) {