drm: bochs: drop unused struct fields
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 14 Apr 2014 09:34:50 +0000 (11:34 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 18 Apr 2014 03:31:50 +0000 (13:31 +1000)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/bochs/bochs.h
drivers/gpu/drm/bochs/bochs_fbdev.c

index 460820551b09950c07f8ce20206c9328a54af74a..7eb52dd44b0109340c7add338c5e0babb175dd79 100644 (file)
@@ -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;
 };
index 4da5206b7cc97562470e527545cc284b0808123d..561b84474122a05e112ffafde7341e8a85f284ad 100644 (file)
@@ -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);