drm/exynos: Remove unused vma field of exynos_drm_gem_obj
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 19 Jun 2015 05:23:29 +0000 (14:23 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Jun 2015 15:33:01 +0000 (00:33 +0900)
The field 'vma' of 'exynos_drm_gem_obj' structure was introduced in
2a3098ff6c21 ("drm/exynos: add userptr feature for g2d module") but is
not referenced anywhere.

One instance of 'exynos_drm_gem_obj' may be mapped to multiple
user-space VMAs so 'vma' field does not look useful anyway.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.h

index 308173cb4f0a0dc3bd8ceb9492d85ba890f155cf..6f42e224828890cd116b2d32c40bf4daf329adc4 100644 (file)
@@ -61,7 +61,6 @@ struct exynos_drm_gem_buf {
  *     or at framebuffer creation.
  * @size: size requested from user, in bytes and this size is aligned
  *     in page unit.
- * @vma: a pointer to vm_area.
  * @flags: indicate memory type to allocated buffer and cache attruibute.
  *
  * P.S. this object would be transferred to user as kms_bo.handle so
@@ -71,7 +70,6 @@ struct exynos_drm_gem_obj {
        struct drm_gem_object           base;
        struct exynos_drm_gem_buf       *buffer;
        unsigned long                   size;
-       struct vm_area_struct           *vma;
        unsigned int                    flags;
 };
 
This page took 0.0252 seconds and 5 git commands to generate.