From e142b8479c2ef52df3d5bcdc59d0c64a32d9490f Mon Sep 17 00:00:00 2001 From: Krishna Reddy Date: Mon, 24 Mar 2014 09:34:59 -0700 Subject: 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 Reviewed-on: http://git-master/r/385718 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vandana Salve --- include/linux/nvmap.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/linux/nvmap.h') diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 079c74128..78f2eabe1 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); @@ -226,11 +224,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 */ }; -- cgit v1.2.2