drm: rip out dev->last_checked

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>
This commit is contained in:
Daniel Vetter 2013-07-10 17:51:10 +02:00 committed by Dave Airlie
parent 1d8d29cf2a
commit 23367ff490
2 changed files with 0 additions and 2 deletions

View File

@ -77,7 +77,6 @@ static int drm_setup(struct drm_device * dev)
dev->context_flag = 0; dev->context_flag = 0;
dev->last_context = 0; dev->last_context = 0;
dev->last_checked = 0;
dev->if_version = 0; dev->if_version = 0;
dev->buf_async = NULL; dev->buf_async = NULL;

View File

@ -1131,7 +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 */
int last_checked; /**< Last context checked for DMA */
int last_context; /**< Last current context */ int last_context; /**< Last current context */
/*@} */ /*@} */