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 2991faae7ac4cbe9dd46140abb729b1b9e1bef68..c6c2b2b558bd1a3990ec48e7993ca74818ab703b 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 a2d68dd74c12828514b2c261bbf73b27425935a0..95d4485dc860135665530d7f89b751b5b20455cd 100644 (file)
@@ -15,7 +15,6 @@
 
 struct psb_framebuffer {
        struct drm_framebuffer base;
-       struct fb_info *fbdev;
 };
 
 struct psb_fbdev {