diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-04-14 05:34:50 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-04-17 23:31:50 -0400 |
commit | c044330baa91b6885597cfaaa58b00b6aa690958 (patch) | |
tree | 63e50d280ec8a76c7dc75ea92af602b400e0e2cb /drivers/gpu/drm | |
parent | b8ccd70f1363f7d4e49219dbc46ec973a14f49cd (diff) |
drm: bochs: drop unused struct fields
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/bochs/bochs.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/bochs/bochs_fbdev.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/bochs/bochs.h b/drivers/gpu/drm/bochs/bochs.h index 460820551b09..7eb52dd44b01 100644 --- a/drivers/gpu/drm/bochs/bochs.h +++ b/drivers/gpu/drm/bochs/bochs.h | |||
@@ -88,8 +88,6 @@ struct bochs_device { | |||
88 | struct bochs_framebuffer gfb; | 88 | struct bochs_framebuffer gfb; |
89 | struct drm_fb_helper helper; | 89 | struct drm_fb_helper helper; |
90 | int size; | 90 | int size; |
91 | int x1, y1, x2, y2; /* dirty rect */ | ||
92 | spinlock_t dirty_lock; | ||
93 | bool initialized; | 91 | bool initialized; |
94 | } fb; | 92 | } fb; |
95 | }; | 93 | }; |
diff --git a/drivers/gpu/drm/bochs/bochs_fbdev.c b/drivers/gpu/drm/bochs/bochs_fbdev.c index 4da5206b7cc9..561b84474122 100644 --- a/drivers/gpu/drm/bochs/bochs_fbdev.c +++ b/drivers/gpu/drm/bochs/bochs_fbdev.c | |||
@@ -190,7 +190,6 @@ int bochs_fbdev_init(struct bochs_device *bochs) | |||
190 | int ret; | 190 | int ret; |
191 | 191 | ||
192 | bochs->fb.helper.funcs = &bochs_fb_helper_funcs; | 192 | bochs->fb.helper.funcs = &bochs_fb_helper_funcs; |
193 | spin_lock_init(&bochs->fb.dirty_lock); | ||
194 | 193 | ||
195 | ret = drm_fb_helper_init(bochs->dev, &bochs->fb.helper, | 194 | ret = drm_fb_helper_init(bochs->dev, &bochs->fb.helper, |
196 | 1, 1); | 195 | 1, 1); |