[PATCH 03/18] drm/simpledrm: Remove struct simpledrm_device.nformats

Javier Martinez Canillas javierm at redhat.com
Sun Mar 23 10:17:38 UTC 2025


Thomas Zimmermann <tzimmermann at suse.de> writes:

> The field nformats is unused. Remove it.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
>  drivers/gpu/drm/tiny/simpledrm.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c
> index 5d9ab8adf800..d949713f5ff6 100644
> --- a/drivers/gpu/drm/tiny/simpledrm.c
> +++ b/drivers/gpu/drm/tiny/simpledrm.c
> @@ -246,7 +246,6 @@ struct simpledrm_device {
>  
>  	/* modesetting */
>  	uint32_t formats[8];
> -	size_t nformats;
>  	struct drm_plane primary_plane;
>  	struct drm_crtc crtc;
>  	struct drm_encoder encoder;
> -- 
> 2.48.1
>

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list