From: Thomas Zimmermann Date: Tue, 1 Apr 2025 09:37:06 +0000 (+0200) Subject: drm/simpledrm: Remove struct simpledrm_device.nformats X-Git-Tag: v6.16-rc1~144^2~21^2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2033b64bfe6cdd13f4f7dace4b55a9530a533b7;p=thirdparty%2Flinux.git drm/simpledrm: Remove struct simpledrm_device.nformats The field nformats is unused. Remove it. Signed-off-by: Thomas Zimmermann Reviewed-by: Javier Martinez Canillas Link: https://lore.kernel.org/r/20250401094056.32904-4-tzimmermann@suse.de --- diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c index 5d9ab8adf8005..d949713f5ff68 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;