Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/exynos: Remove unused vma field of exynos_drm_gem_obj

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>

authored by

Krzysztof Kozlowski and committed by
Inki Dae
286bd022 94ab95a9

-2
-2
drivers/gpu/drm/exynos/exynos_drm_gem.h
··· 61 61 * or at framebuffer creation. 62 62 * @size: size requested from user, in bytes and this size is aligned 63 63 * in page unit. 64 - * @vma: a pointer to vm_area. 65 64 * @flags: indicate memory type to allocated buffer and cache attruibute. 66 65 * 67 66 * P.S. this object would be transferred to user as kms_bo.handle so ··· 70 71 struct drm_gem_object base; 71 72 struct exynos_drm_gem_buf *buffer; 72 73 unsigned long size; 73 - struct vm_area_struct *vma; 74 74 unsigned int flags; 75 75 }; 76 76