Commit c044330baa91b6885597cfaaa58b00b6aa690958

Authored by Gerd Hoffmann
Committed by Dave Airlie
1 parent b8ccd70f13

drm: bochs: drop unused struct fields

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

Showing 2 changed files with 0 additions and 3 deletions Side-by-side Diff

drivers/gpu/drm/bochs/bochs.h
... ... @@ -88,8 +88,6 @@
88 88 struct bochs_framebuffer gfb;
89 89 struct drm_fb_helper helper;
90 90 int size;
91   - int x1, y1, x2, y2; /* dirty rect */
92   - spinlock_t dirty_lock;
93 91 bool initialized;
94 92 } fb;
95 93 };
drivers/gpu/drm/bochs/bochs_fbdev.c
... ... @@ -190,7 +190,6 @@
190 190 int ret;
191 191  
192 192 bochs->fb.helper.funcs = &bochs_fb_helper_funcs;
193   - spin_lock_init(&bochs->fb.dirty_lock);
194 193  
195 194 ret = drm_fb_helper_init(bochs->dev, &bochs->fb.helper,
196 195 1, 1);