drm: kill dev->ctx_start and dev->lck_start
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Jul 2013 12:11:39 +0000 (14:11 +0200)
committerDave Airlie <airlied@gmail.com>
Tue, 23 Jul 2013 09:20:21 +0000 (19:20 +1000)
Again completely unused, so just remove it.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/drm_fops.c
include/drm/drmP.h

index 386c304c5cb16f6c0a2c6713c4c1ebfc9c5a9d13..a3714a0235cb5667a0ec6cec0eb7ae2b87a8f880 100644 (file)
@@ -80,9 +80,6 @@ static int drm_setup(struct drm_device * dev)
        dev->last_checked = 0;
        dev->if_version = 0;
 
-       dev->ctx_start = 0;
-       dev->lck_start = 0;
-
        dev->buf_async = NULL;
        init_waitqueue_head(&dev->buf_readers);
        init_waitqueue_head(&dev->buf_writers);
index 1ec806f76ad946e83f57ca1a02812bf58840800a..0403695715043090ccad682afb6ba76080fd8e23 100644 (file)
@@ -1170,8 +1170,6 @@ struct drm_device {
        spinlock_t event_lock;
 
        /*@} */
-       cycles_t ctx_start;
-       cycles_t lck_start;
 
        struct fasync_struct *buf_async;/**< Processes waiting for SIGIO */
        wait_queue_head_t buf_readers;  /**< Processes waiting to read */