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

drm: rip out dev->last_checked

Only ever re-cleared in drm_setup, otherwise completely unused.
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: NDave Airlie <airlied@gmail.com>
上级 1d8d29cf
......@@ -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;
......
......@@ -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 */
/*@} */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册