]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
video: tegra: nvmap: remove unused member variables
authorKrishna Reddy <vdumpa@nvidia.com>
Wed, 19 Mar 2014 19:25:52 +0000 (12:25 -0700)
committerKrishna Reddy <vdumpa@nvidia.com>
Thu, 20 Mar 2014 17:34:44 +0000 (10:34 -0700)
Remove unused member variables and unnecessary extern
declarations.

Change-Id: Iefa5afb7041b413a83d4e549aa7f90bfcb026d2e
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/383976

drivers/video/tegra/nvmap/nvmap_priv.h

index 893e4bbf5305eff66885c9115b9adc9a6ae06195..87ebaf7a6dc97cc47fd80a192d7ef0cf1ab1abff 100644 (file)
 
 struct page;
 
-extern const struct file_operations nvmap_fd_fops;
 void _nvmap_handle_free(struct nvmap_handle *h);
 /* holds max number of handles allocted per process at any time */
 extern u32 nvmap_max_handle_count;
-extern size_t cache_maint_inner_threshold;
 
 #if defined(CONFIG_TEGRA_NVMAP)
 #define CACHE_MAINT_IMMEDIATE          0
@@ -96,7 +94,6 @@ extern void __flush_dcache_page(struct address_space *, struct page *);
 struct nvmap_pgalloc {
        struct page **pages;
        bool contig;                    /* contiguous system memory */
-       u32 iovm_addr;  /* is non-zero, if client need specific iova mapping */
 };
 
 struct nvmap_handle {
@@ -385,8 +382,8 @@ static inline void nvmap_flush_tlb_kernel_page(unsigned long kaddr)
 }
 
 /* MM definitions. */
+extern size_t cache_maint_inner_threshold;
 extern size_t cache_maint_outer_threshold;
-extern int inner_cache_maint_threshold;
 
 extern void v7_flush_kern_cache_all(void);
 extern void v7_clean_kern_cache_all(void *);