Commit c044330b authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by Dave Airlie

drm: bochs: drop unused struct fields

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent b8ccd70f
...@@ -88,8 +88,6 @@ struct bochs_device { ...@@ -88,8 +88,6 @@ struct bochs_device {
struct bochs_framebuffer gfb; struct bochs_framebuffer gfb;
struct drm_fb_helper helper; struct drm_fb_helper helper;
int size; int size;
int x1, y1, x2, y2; /* dirty rect */
spinlock_t dirty_lock;
bool initialized; bool initialized;
} fb; } fb;
}; };
......
...@@ -190,7 +190,6 @@ int bochs_fbdev_init(struct bochs_device *bochs) ...@@ -190,7 +190,6 @@ int bochs_fbdev_init(struct bochs_device *bochs)
int ret; int ret;
bochs->fb.helper.funcs = &bochs_fb_helper_funcs; bochs->fb.helper.funcs = &bochs_fb_helper_funcs;
spin_lock_init(&bochs->fb.dirty_lock);
ret = drm_fb_helper_init(bochs->dev, &bochs->fb.helper, ret = drm_fb_helper_init(bochs->dev, &bochs->fb.helper,
1, 1); 1, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment