diff options
author | Krishna Reddy <vdumpa@nvidia.com> | 2014-03-24 09:34:59 -0700 |
---|---|---|
committer | Krishna Reddy <vdumpa@nvidia.com> | 2014-03-25 08:40:19 -0700 |
commit | 2006435cf49981d5be49d271c648ac3a751ebe82 (patch) | |
tree | 3b1cf4d91aa94aa3aa904dc0846a3f8a44cf8cb7 /include/linux/nvmap.h | |
parent | 9f2e10630adbdb338b4d742b1e99a0dde5320e7c (diff) |
nvmap: remove unnecessary CONFIG_COMPAT check
remove unnecessary CONFIG_COMPAT check for the ioctl
nvmap_cache_op_list.
remove unnecessary forward declation for nvmap_handle.
Change-Id: I4c0abd93a92174f7d5920d1dc66460b99e837953
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/385718
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vandana Salve <vsalve@nvidia.com>
Diffstat (limited to 'include/linux/nvmap.h')
-rw-r--r-- | include/linux/nvmap.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 82c2e33d2df7..8b7a4a608540 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h @@ -56,8 +56,6 @@ #if defined(__KERNEL__) -struct nvmap_handle; - struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align, unsigned int flags, unsigned int heap_mask); @@ -230,11 +228,7 @@ struct nvmap_cache_op_32 { #endif struct nvmap_cache_op_list { -#ifdef CONFIG_COMPAT __u32 handles; /* Uspace ptr to list of handles */ -#else - struct nvmap_handle **handles; -#endif __u32 nr; /* Number of handles */ }; |