drm: rip out dev->last_checked
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Jul 2013 15:51:10 +0000 (17:51 +0200)
committerDave Airlie <airlied@gmail.com>
Tue, 23 Jul 2013 09:36:23 +0000 (19:36 +1000)
Only ever re-cleared in drm_setup, otherwise completely unused.

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 57e3014..72acae9 100644 (file)
@@ -77,7 +77,6 @@ static int drm_setup(struct drm_device * dev)
 
        dev->context_flag = 0;
        dev->last_context = 0;
-       dev->last_checked = 0;
        dev->if_version = 0;
 
        dev->buf_async = NULL;
index 1ea404f..dd03fd4 100644 (file)
@@ -1131,7 +1131,6 @@ struct drm_device {
        /*@{ */
        int irq_enabled;                /**< True if irq handler is enabled */
        __volatile__ long context_flag; /**< Context swapping flag */
-       int last_checked;               /**< Last context checked for DMA */
        int last_context;               /**< Last current context */
        /*@} */