From ee87b4716d416be94071eea5dd67a22d1e78df31 Mon Sep 17 00:00:00 2001 From: Daniel Kurtz Date: Thu, 17 Apr 2014 11:54:41 +0800 Subject: [PATCH] exynos: removed unused fd field The documentation says fd holds the fd from prime import/export. However, it isn't actually used, nor is it necessary, so let's just remove it. Signed-off-by: Daniel Kurtz Acked-by: Inki Dae --- exynos/exynos_drmif.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/exynos/exynos_drmif.h b/exynos/exynos_drmif.h index 92f613ea..c7c1d442 100644 --- a/exynos/exynos_drmif.h +++ b/exynos/exynos_drmif.h @@ -41,7 +41,6 @@ struct exynos_device { * @dev: exynos device object allocated. * @handle: a gem handle to gem object created. * @flags: indicate memory allocation and cache attribute types. - * @fd: file descriptor exported into dmabuf. * @size: size to the buffer created. * @vaddr: user space address to a gem buffer mmaped. * @name: a gem global handle from flink request. @@ -50,7 +49,6 @@ struct exynos_bo { struct exynos_device *dev; uint32_t handle; uint32_t flags; - int fd; size_t size; void *vaddr; uint32_t name;