diff mbox

[8/8] exynos: removed unused fd field

Message ID 1393995704-29184-9-git-send-email-djkurtz@chromium.org (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Kurtz March 5, 2014, 5:01 a.m. UTC
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 <djkurtz@chromium.org>
---
 exynos/exynos_drmif.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

diff --git a/exynos/exynos_drmif.h b/exynos/exynos_drmif.h
index 92f613e..c7c1d44 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;