Commit 03d38605 authored by Thomas Zimmermann's avatar Thomas Zimmermann

drm/simpledrm: Remove mem field from device structure

Remove the unused mem field from struct simpledrm_device.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Acked-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220801135028.30647-2-tzimmermann@suse.de
parent f9929f69
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment