aboutsummaryrefslogtreecommitdiff
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorGravatar Ville Syrjälä <ville.syrjala@linux.intel.com> 2013-10-04 14:53:39 +0300
committerGravatar Dave Airlie <airlied@redhat.com> 2013-10-09 15:55:32 +1000
commitfc6ff1935b550bdf525e0caa5ef0894010375414 (patch)
tree29c0cea9e21f7f210930ebc39148fa94bfa553df /include/drm/drmP.h
parentdrm: Kill unused stuff from struct drm_device (diff)
downloadlinux-fc6ff1935b550bdf525e0caa5ef0894010375414.tar.gz
linux-fc6ff1935b550bdf525e0caa5ef0894010375414.tar.bz2
linux-fc6ff1935b550bdf525e0caa5ef0894010375414.zip
drm: Kill ctx_count from struct drm_device
The only user of ctx_count is the via driver, and we can replace that use with list_is_singular(). 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>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 5b99c0e072ef..e26b80236719 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1132,7 +1132,6 @@ struct drm_device {
/** \name Context handle management */
/*@{ */
struct list_head ctxlist; /**< Linked list of context handles */
- int ctx_count; /**< Number of context handles */
struct mutex ctxlist_mutex; /**< For ctxlist */
struct idr ctx_idr;