diff options
author | Sinclair Yeh <syeh@vmware.com> | 2016-05-24 09:01:04 -0700 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2017-02-23 09:55:59 -0800 |
commit | 2ca7c61faa5715f3116a29b2176bee348773dc77 (patch) | |
tree | 594b9a557ea0436d00c71f57b8cabac907f5a574 /drm_global.c | |
parent | 75220cb9cc1855117ccc091b4bd6af7ce042ea76 (diff) |
vmwgfx: Porting over new drm and ttm files
This is the one large DRM and vmwgfx port from kernel 4.6+ to
vmwgfx stand alone. The code is not quite v4.7, but some of
the structures have been ported over.
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drm_global.c')
-rw-r--r-- | drm_global.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drm_global.c b/drm_global.c index ddcff1a..6aa944f 100644 --- a/drm_global.c +++ b/drm_global.c @@ -68,7 +68,6 @@ int drm_global_item_ref(struct drm_global_reference *ref) { int ret; struct drm_global_item *item = &glob[ref->global_type]; - void *object; mutex_lock(&item->mutex); if (item->refcount == 0) { @@ -86,7 +85,6 @@ int drm_global_item_ref(struct drm_global_reference *ref) } ++item->refcount; ref->object = item->object; - object = item->object; mutex_unlock(&item->mutex); return 0; out_err: |