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 57e30145f68ed47eebb1259a184d2b9c8726921b..72acae908a7dfc9e9d96843431433af0f03788b6 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 1ea404fd745dc278c952a407c472a80e33bcf391..dd03fd4239adff30d5be27045c9cd02678154ac2 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 */
        /*@} */