Hi Biju,

Thank you for the patch.

On Sun, Mar 30, 2025 at 11:23:52AM +0100, Biju Das wrote:
> Drop the unused variable bpp from struct rzg2l_du_format_info.
> 
> Signed-off-by: Biju Das <biju.das...@bp.renesas.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com>

> ---
> v2:
>  * New patch.
> ---
>  drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 3 ---
>  drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h | 1 -
>  2 files changed, 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c 
> b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c
> index 90c6269ccd29..1a428ab3c424 100644
> --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c
> +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c
> @@ -38,19 +38,16 @@ static const struct rzg2l_du_format_info 
> rzg2l_du_format_infos[] = {
>       {
>               .fourcc = DRM_FORMAT_XRGB8888,
>               .v4l2 = V4L2_PIX_FMT_XBGR32,
> -             .bpp = 32,
>               .planes = 1,
>               .hsub = 1,
>       }, {
>               .fourcc = DRM_FORMAT_ARGB8888,
>               .v4l2 = V4L2_PIX_FMT_ABGR32,
> -             .bpp = 32,
>               .planes = 1,
>               .hsub = 1,
>       }, {
>               .fourcc = DRM_FORMAT_RGB888,
>               .v4l2 = V4L2_PIX_FMT_BGR24,
> -             .bpp = 24,
>               .planes = 1,
>               .hsub = 1,
>       }
> diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h 
> b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h
> index 876e97cfbf45..e2c599f115c6 100644
> --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h
> +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h
> @@ -23,7 +23,6 @@ struct sg_table;
>  struct rzg2l_du_format_info {
>       u32 fourcc;
>       u32 v4l2;
> -     unsigned int bpp;
>       unsigned int planes;
>       unsigned int hsub;
>  };

-- 
Regards,

Laurent Pinchart

Reply via email to