[PATCH 2/6] drm/gma500: Remove field 'fbdev' from struct psb_framebuffer
Thomas Zimmermann
tzimmermann at suse.de
Fri Nov 22 10:05:41 UTC 2019
The field 'fbdev' in struct psb_framebuffer serves no purpose. Remove
it.
Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
---
drivers/gpu/drm/gma500/framebuffer.c | 1 -
drivers/gpu/drm/gma500/framebuffer.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c
index 598dc51d9e24..f56a1fcf58ab 100644
--- a/drivers/gpu/drm/gma500/framebuffer.c
+++ b/drivers/gpu/drm/gma500/framebuffer.c
@@ -383,7 +383,6 @@ static int psbfb_create(struct psb_fbdev *fbdev,
goto out;
fb = &psbfb->base;
- psbfb->fbdev = info;
fbdev->psb_fb_helper.fb = fb;
diff --git a/drivers/gpu/drm/gma500/framebuffer.h b/drivers/gpu/drm/gma500/framebuffer.h
index a2d68dd74c12..95d4485dc860 100644
--- a/drivers/gpu/drm/gma500/framebuffer.h
+++ b/drivers/gpu/drm/gma500/framebuffer.h
@@ -15,7 +15,6 @@
struct psb_framebuffer {
struct drm_framebuffer base;
- struct fb_info *fbdev;
};
struct psb_fbdev {
--
2.23.0
More information about the dri-devel
mailing list