Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b8837df authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Dave Airlie
Browse files

drm: Kill unused stuff from struct drm_device



'map_count' and 'work' are never used. Kill them both.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 4423843c
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -1127,7 +1127,6 @@ struct drm_device {
	/** \name Memory management */
	/** \name Memory management */
	/*@{ */
	/*@{ */
	struct list_head maplist;	/**< Linked list of regions */
	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 */
	struct drm_open_hash map_hash;	/**< User token hash table for maps */


	/** \name Context handle management */
	/** \name Context handle management */
@@ -1154,7 +1153,6 @@ struct drm_device {
	int last_context;		/**< Last current context */
	int last_context;		/**< Last current context */
	/*@} */
	/*@} */


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