Skip to content

Commit

Permalink
drm: rip out dev->last_checked
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Vetter authored and Dave Airlie committed Jul 23, 2013
1 parent 1d8d29c commit 23367ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/gpu/drm/drm_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
/*@} */

Expand Down

0 comments on commit 23367ff

Please sign in to comment.