diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-29 06:12:42 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-10 03:42:17 -0400 |
commit | 1e444be0ef1bda2b180ecdedfa4c5d32bf236a5d (patch) | |
tree | 711321e9be107eb0ee0220176cbe912b14864e76 /include/drm | |
parent | d0a39164b6adad0cec5046b6aad6b590cc9466cc (diff) |
drm: drop unused drm_master->unique_size
This field is unused and there is really no reason to optimize
unique-allocations. Drop it.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index a8b24fcddb8c..98b1eafebc1c 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -574,7 +574,6 @@ struct drm_gem_object { | |||
574 | * @minor: Link back to minor char device we are master for. Immutable. | 574 | * @minor: Link back to minor char device we are master for. Immutable. |
575 | * @unique: Unique identifier: e.g. busid. Protected by drm_global_mutex. | 575 | * @unique: Unique identifier: e.g. busid. Protected by drm_global_mutex. |
576 | * @unique_len: Length of unique field. Protected by drm_global_mutex. | 576 | * @unique_len: Length of unique field. Protected by drm_global_mutex. |
577 | * @unique_size: Amount allocated. Protected by drm_global_mutex. | ||
578 | * @magiclist: Hash of used authentication tokens. Protected by struct_mutex. | 577 | * @magiclist: Hash of used authentication tokens. Protected by struct_mutex. |
579 | * @magicfree: List of used authentication tokens. Protected by struct_mutex. | 578 | * @magicfree: List of used authentication tokens. Protected by struct_mutex. |
580 | * @lock: DRI lock information. | 579 | * @lock: DRI lock information. |
@@ -585,7 +584,6 @@ struct drm_master { | |||
585 | struct drm_minor *minor; | 584 | struct drm_minor *minor; |
586 | char *unique; | 585 | char *unique; |
587 | int unique_len; | 586 | int unique_len; |
588 | int unique_size; | ||
589 | struct drm_open_hash magiclist; | 587 | struct drm_open_hash magiclist; |
590 | struct list_head magicfree; | 588 | struct list_head magicfree; |
591 | struct drm_lock_data lock; | 589 | struct drm_lock_data lock; |