[PATCH] media: staging: media: imx: imx7-media-csi: Remove a useless include

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sat Nov 12 13:51:45 PST 2022


Hi Christophe,

Thank you for the patch.

On Sat, Nov 12, 2022 at 10:24:34PM +0100, Christophe JAILLET wrote:
> <linux/gcd.h> is not needed for this driver. Remove the corresponding
> #include.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> ---
>  drivers/staging/media/imx/imx7-media-csi.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c
> index e5b550ccfa22..cb7d8381f6f2 100644
> --- a/drivers/staging/media/imx/imx7-media-csi.c
> +++ b/drivers/staging/media/imx/imx7-media-csi.c
> @@ -8,7 +8,6 @@
>  
>  #include <linux/clk.h>
>  #include <linux/delay.h>
> -#include <linux/gcd.h>
>  #include <linux/interrupt.h>
>  #include <linux/mfd/syscon.h>
>  #include <linux/module.h>

-- 
Regards,

Laurent Pinchart



More information about the linux-arm-kernel mailing list