aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/drm_hashtab.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-01-26 18:33:25 +0000
committerDave Airlie <airlied@redhat.com>2011-02-23 11:16:40 +1000
commit7811bddb6654337fd85837ef14c1a96a0c264745 (patch)
tree668ab27b5a002824f62434c9b8ffc0654e358ffd /include/drm/drm_hashtab.h
parentdrm: Trim the GEM mmap offset hashtab (diff)
downloadwireguard-linux-7811bddb6654337fd85837ef14c1a96a0c264745.tar.xz
wireguard-linux-7811bddb6654337fd85837ef14c1a96a0c264745.zip
drm: Remove unused members from struct drm_open_hash
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_hashtab.h')
-rw-r--r--include/drm/drm_hashtab.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/drm/drm_hashtab.h b/include/drm/drm_hashtab.h
index 0af087a4d3b3..3650d5d011ee 100644
--- a/include/drm/drm_hashtab.h
+++ b/include/drm/drm_hashtab.h
@@ -45,14 +45,10 @@ struct drm_hash_item {
};
struct drm_open_hash {
- unsigned int size;
- unsigned int order;
- unsigned int fill;
struct hlist_head *table;
- int use_vmalloc;
+ u8 order;
};
-
extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order);
extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,