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

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 c14fdc1c109bcdbddb3c3cd6fd3adc33da6404f4..386c304c5cb16f6c0a2c6713c4c1ebfc9c5a9d13 100644 (file)
@@ -76,8 +76,6 @@ static int drm_setup(struct drm_device * dev)
        dev->sigdata.lock = NULL;
 
        dev->context_flag = 0;
-       dev->interrupt_flag = 0;
-       dev->dma_flag = 0;
        dev->last_context = 0;
        dev->last_checked = 0;
        dev->if_version = 0;
index 089e82028e7ad0335406e7f1e882d7a068f2336a..1ec806f76ad946e83f57ca1a02812bf58840800a 100644 (file)
@@ -1131,8 +1131,6 @@ struct drm_device {
        /*@{ */
        int irq_enabled;                /**< True if irq handler is enabled */
        __volatile__ long context_flag; /**< Context swapping flag */
-       __volatile__ long interrupt_flag; /**< Interruption handler flag */
-       __volatile__ long dma_flag;     /**< DMA dispatch flag */
        int last_checked;               /**< Last context checked for DMA */
        int last_context;               /**< Last current context */
        /*@} */