projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618e377
)
drm: Remove unused variable in drm_global_item_ref()
author
Lespiau, Damien
<damien.lespiau@intel.com>
Sat, 28 Sep 2013 15:24:01 +0000
(16:24 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 1 Oct 2013 05:28:58 +0000
(15:28 +1000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_global.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_global.c
b/drivers/gpu/drm/drm_global.c
index f7311162a61dc0e91cbca80f190f75c7e685d179..3d2e91c4d78e1c1003ac9521250dc4ca41c9b6ae 100644
(file)
--- a/
drivers/gpu/drm/drm_global.c
+++ b/
drivers/gpu/drm/drm_global.c
@@
-67,7
+67,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) {
@@
-85,7
+84,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: