diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-10 11:51:10 -0400 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-07-23 05:36:23 -0400 |
commit | 23367ff49065505e4a255dba2117f654ca26063f (patch) | |
tree | d66f3cea5c473c850ebb309f5ae57d8a0bd47953 | |
parent | 1d8d29cf2a9956ec5ea2395232a8121577a6cfee (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/drm_fops.c | 1 | ||||
-rw-r--r-- | include/drm/drmP.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index 57e30145f68e..72acae908a7d 100644 --- a/drivers/gpu/drm/drm_fops.c +++ b/drivers/gpu/drm/drm_fops.c | |||
@@ -77,7 +77,6 @@ static int drm_setup(struct drm_device * dev) | |||
77 | 77 | ||
78 | dev->context_flag = 0; | 78 | dev->context_flag = 0; |
79 | dev->last_context = 0; | 79 | dev->last_context = 0; |
80 | dev->last_checked = 0; | ||
81 | dev->if_version = 0; | 80 | dev->if_version = 0; |
82 | 81 | ||
83 | dev->buf_async = NULL; | 82 | dev->buf_async = NULL; |
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 1ea404fd745d..dd03fd4239ad 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1131,7 +1131,6 @@ struct drm_device { | |||
1131 | /*@{ */ | 1131 | /*@{ */ |
1132 | int irq_enabled; /**< True if irq handler is enabled */ | 1132 | int irq_enabled; /**< True if irq handler is enabled */ |
1133 | __volatile__ long context_flag; /**< Context swapping flag */ | 1133 | __volatile__ long context_flag; /**< Context swapping flag */ |
1134 | int last_checked; /**< Last context checked for DMA */ | ||
1135 | int last_context; /**< Last current context */ | 1134 | int last_context; /**< Last current context */ |
1136 | /*@} */ | 1135 | /*@} */ |
1137 | 1136 | ||