drm/simpledrm: Remove mem field from device structure

Remove the unused mem field from struct simpledrm_device.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220801135028.30647-2-tzimmermann@suse.de
This commit is contained in:
Thomas Zimmermann 2022-08-01 15:50:24 +02:00
parent f9929f69de
commit 03d38605ce

View File

@ -217,7 +217,6 @@ struct simpledrm_device {
unsigned int pitch;
/* memory management */
struct resource *mem;
void __iomem *screen_base;
/* modesetting */
@ -558,7 +557,6 @@ static int simpledrm_device_init_mm(struct simpledrm_device *sdev)
if (!screen_base)
return -ENOMEM;
sdev->mem = mem;
sdev->screen_base = screen_base;
return 0;