diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-07-02 00:03:08 -0400 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-08-03 03:52:13 -0400 |
commit | 4a958d38277936427500e741d346ec784e1d23f1 (patch) | |
tree | 3b63d6487ee93adf550e980d6526a250ebb733d3 | |
parent | 7a9bf6e5c4c6448283b8087802bd5c8b3ebb528c (diff) |
drm/exynos: Remove unused variable in exynos_drm_gem.c
'exynos_gem_obj' is not used in the function. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 163a054922cb..15db80138382 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c | |||
@@ -301,7 +301,6 @@ void exynos_drm_gem_put_dma_addr(struct drm_device *dev, | |||
301 | unsigned int gem_handle, | 301 | unsigned int gem_handle, |
302 | struct drm_file *filp) | 302 | struct drm_file *filp) |
303 | { | 303 | { |
304 | struct exynos_drm_gem_obj *exynos_gem_obj; | ||
305 | struct drm_gem_object *obj; | 304 | struct drm_gem_object *obj; |
306 | 305 | ||
307 | obj = drm_gem_object_lookup(dev, filp, gem_handle); | 306 | obj = drm_gem_object_lookup(dev, filp, gem_handle); |
@@ -310,8 +309,6 @@ void exynos_drm_gem_put_dma_addr(struct drm_device *dev, | |||
310 | return; | 309 | return; |
311 | } | 310 | } |
312 | 311 | ||
313 | exynos_gem_obj = to_exynos_gem_obj(obj); | ||
314 | |||
315 | drm_gem_object_unreference_unlocked(obj); | 312 | drm_gem_object_unreference_unlocked(obj); |
316 | 313 | ||
317 | /* | 314 | /* |