提交 03d38605 编写于 作者: T Thomas Zimmermann

drm/simpledrm: Remove mem field from device structure

Remove the unused mem field from struct simpledrm_device.
Signed-off-by: NThomas Zimmermann <tzimmermann@suse.de>
Acked-by: NJavier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220801135028.30647-2-tzimmermann@suse.de
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册