Skip to content

Commit

Permalink
drm: Kill unused stuff from struct drm_device
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Ville Syrjälä authored and Dave Airlie committed Oct 9, 2013
1 parent 4423843 commit 6b8837d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -1154,7 +1153,6 @@ struct drm_device {
int last_context; /**< Last current context */
/*@} */

struct work_struct work;
/** \name VBLANK IRQ support */
/*@{ */

Expand Down

0 comments on commit 6b8837d

Please sign in to comment.