Skip to content

Commit c044330

Browse files
kraxelairlied
authored andcommitted
drm: bochs: drop unused struct fields
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent b8ccd70 commit c044330

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

drivers/gpu/drm/bochs/bochs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ struct bochs_device {
8888
struct bochs_framebuffer gfb;
8989
struct drm_fb_helper helper;
9090
int size;
91-
int x1, y1, x2, y2; /* dirty rect */
92-
spinlock_t dirty_lock;
9391
bool initialized;
9492
} fb;
9593
};

drivers/gpu/drm/bochs/bochs_fbdev.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ int bochs_fbdev_init(struct bochs_device *bochs)
190190
int ret;
191191

192192
bochs->fb.helper.funcs = &bochs_fb_helper_funcs;
193-
spin_lock_init(&bochs->fb.dirty_lock);
194193

195194
ret = drm_fb_helper_init(bochs->dev, &bochs->fb.helper,
196195
1, 1);

0 commit comments

Comments
 (0)