drm/gma500: Remove field 'fbdev' from struct psb_framebuffer
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 22 Nov 2019 10:05:41 +0000 (11:05 +0100)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Mon, 25 Nov 2019 10:01:24 +0000 (11:01 +0100)
The field 'fbdev' in struct psb_framebuffer serves no purpose. Remove
it.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191122100545.16812-3-tzimmermann@suse.de
drivers/gpu/drm/gma500/framebuffer.c
drivers/gpu/drm/gma500/framebuffer.h

index 2991faa..c6c2b2b 100644 (file)
@@ -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;
 
index a2d68dd..95d4485 100644 (file)
@@ -15,7 +15,6 @@
 
 struct psb_framebuffer {
        struct drm_framebuffer base;
-       struct fb_info *fbdev;
 };
 
 struct psb_fbdev {