Skip to content

Commit

Permalink
drm: bochs: drop unused struct fields
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
kraxel authored and airlied committed Apr 18, 2014
1 parent b8ccd70 commit c044330
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/bochs/bochs.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ struct bochs_device {
struct bochs_framebuffer gfb;
struct drm_fb_helper helper;
int size;
int x1, y1, x2, y2; /* dirty rect */
spinlock_t dirty_lock;
bool initialized;
} fb;
};
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/bochs/bochs_fbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ int bochs_fbdev_init(struct bochs_device *bochs)
int ret;

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,
1, 1);
Expand Down

0 comments on commit c044330

Please sign in to comment.