提交 c78d7531 编写于 作者: D Daniel Vetter 提交者: Dave Airlie

drm: kill dev->interrupt_flag and dev->dma_flag

Completely unused, so just remove them.
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: NDave Airlie <airlied@gmail.com>
上级 a17800c7
...@@ -76,8 +76,6 @@ static int drm_setup(struct drm_device * dev) ...@@ -76,8 +76,6 @@ static int drm_setup(struct drm_device * dev)
dev->sigdata.lock = NULL; dev->sigdata.lock = NULL;
dev->context_flag = 0; dev->context_flag = 0;
dev->interrupt_flag = 0;
dev->dma_flag = 0;
dev->last_context = 0; dev->last_context = 0;
dev->last_checked = 0; dev->last_checked = 0;
dev->if_version = 0; dev->if_version = 0;
......
...@@ -1131,8 +1131,6 @@ struct drm_device { ...@@ -1131,8 +1131,6 @@ struct drm_device {
/*@{ */ /*@{ */
int irq_enabled; /**< True if irq handler is enabled */ int irq_enabled; /**< True if irq handler is enabled */
__volatile__ long context_flag; /**< Context swapping flag */ __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_checked; /**< Last context checked for DMA */
int last_context; /**< Last current context */ int last_context; /**< Last current context */
/*@} */ /*@} */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册