drm/exynos: Remove unused variable in exynos_drm_gem.c
authorSachin Kamat <sachin.kamat@samsung.com>
Wed, 2 Jul 2014 04:03:08 +0000 (09:33 +0530)
committerInki Dae <daeinki@gmail.com>
Sun, 3 Aug 2014 07:52:13 +0000 (16:52 +0900)
'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>
drivers/gpu/drm/exynos/exynos_drm_gem.c

index 163a054922cb89f1845e2fe23c4d46b6c442f0f2..15db80138382f7d7fd58875663f0448f1312b284 100644 (file)
@@ -301,7 +301,6 @@ void exynos_drm_gem_put_dma_addr(struct drm_device *dev,
                                        unsigned int gem_handle,
                                        struct drm_file *filp)
 {
-       struct exynos_drm_gem_obj *exynos_gem_obj;
        struct drm_gem_object *obj;
 
        obj = drm_gem_object_lookup(dev, filp, gem_handle);
@@ -310,8 +309,6 @@ void exynos_drm_gem_put_dma_addr(struct drm_device *dev,
                return;
        }
 
-       exynos_gem_obj = to_exynos_gem_obj(obj);
-
        drm_gem_object_unreference_unlocked(obj);
 
        /*