diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-08-01 16:50:24 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-08-05 15:14:02 +0300 |
commit | 03d38605cee7762d020dc14cfdefa6cef77b5811 (patch) | |
tree | 024870c83133f7edf4107273ddd2063092c46d43 /drivers/gpu/drm/tiny/simpledrm.c | |
parent | f9929f69de94212f98b3ad72a3e81c3bd3d333e0 (diff) | |
download | linux-03d38605cee7762d020dc14cfdefa6cef77b5811.tar.xz |
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
Diffstat (limited to 'drivers/gpu/drm/tiny/simpledrm.c')
-rw-r--r-- | drivers/gpu/drm/tiny/simpledrm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c index 5422363690e7..c5a0dabfb6df 100644 --- a/drivers/gpu/drm/tiny/simpledrm.c +++ b/drivers/gpu/drm/tiny/simpledrm.c @@ -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; |