summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-10-04 15:53:38 +0400
committerDave Airlie <airlied@redhat.com>2013-10-09 09:55:32 +0400
commit6b8837df7a39d88f6a48a892312b08bbefba2540 (patch)
tree4140eb62fb5705217aa181e6cc31996c3cd41dba
parent4423843cde65232c1d553df220e1d133f4a0fa2b (diff)
downloadlinux-6b8837df7a39d88f6a48a892312b08bbefba2540.tar.xz
drm: Kill unused stuff from struct drm_device
'map_count' and 'work' are never used. Kill them both. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--include/drm/drmP.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 713d7c699bcd..5b99c0e072ef 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1127,7 +1127,6 @@ struct drm_device {
/** \name Memory management */
/*@{ */
struct list_head maplist; /**< Linked list of regions */
- int map_count; /**< Number of mappable regions */
struct drm_open_hash map_hash; /**< User token hash table for maps */
/** \name Context handle management */
@@ -1154,7 +1153,6 @@ struct drm_device {
int last_context; /**< Last current context */
/*@} */
- struct work_struct work;
/** \name VBLANK IRQ support */
/*@{ */