diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2019-11-22 11:05:41 +0100 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2019-11-25 11:01:24 +0100 |
commit | 86eda5a4c16757d04db9770b7c1399ecf8f268ca (patch) | |
tree | a80b03b8406189db493a502638d5ef06968ca7ee /drivers/gpu/drm/gma500 | |
parent | 641099fe0cf878fdab8e42d907ed383e9d5a9c16 (diff) | |
download | linux-86eda5a4c16757d04db9770b7c1399ecf8f268ca.tar.gz linux-86eda5a4c16757d04db9770b7c1399ecf8f268ca.tar.bz2 linux-86eda5a4c16757d04db9770b7c1399ecf8f268ca.zip |
drm/gma500: Remove field 'fbdev' from struct psb_framebuffer
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
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/framebuffer.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/framebuffer.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index 2991faae7ac4..c6c2b2b558bd 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 { |