drm/exynos: remove unused fields of struct exynos_drm_gem_buf
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 28 Jul 2015 08:53:21 +0000 (17:53 +0900)
committerInki Dae <inki.dae@samsung.com>
Sun, 16 Aug 2015 04:34:09 +0000 (13:34 +0900)
The userptr, write and pfnmap of struct exynos_drm_gem_buf are not used
anywhere.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.h

index 5979f22828d47fed5dd5ad5d66cedeb5a8575429..49b5ef1179b08f7257a37e05922011ad16d68d6f 100644 (file)
  *
  * @cookie: cookie returned by dma_alloc_attrs
  * @kvaddr: kernel virtual address to allocated memory region.
- * *userptr: user space address.
  * @dma_addr: bus address(accessed by dma) to allocated memory region.
  *     - this address could be physical address without IOMMU and
  *     device address with IOMMU.
- * @write: whether pages will be written to by the caller.
  * @pages: Array of backing pages.
  * @size: size of allocated memory region.
- * @pfnmap: indicate whether memory region from userptr is mmaped with
- *     VM_PFNMAP or not.
  */
 struct exynos_drm_gem_buf {
        void                    *cookie;
        void __iomem            *kvaddr;
-       unsigned long           userptr;
        dma_addr_t              dma_addr;
        struct dma_attrs        dma_attrs;
-       unsigned int            write;
        struct page             **pages;
        unsigned long           size;
-       bool                    pfnmap;
 };
 
 /*
This page took 0.027418 seconds and 5 git commands to generate.