diff options
author | Krishna Reddy <vdumpa@nvidia.com> | 2014-06-20 14:40:52 -0700 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2014-08-08 14:48:19 -0700 |
commit | ff171e6f371f3c50d3898c648800ba74fe4cb7ea (patch) | |
tree | 485cac243a3824773fa3d638d3d32cb5f73a4194 /drivers/video/tegra/nvmap/nvmap_priv.h | |
parent | ef8fd8194d37cdfef1e02630a30e64da1c19750c (diff) |
video: tegra: nvmap: remove carveout commit accounting
Remove obsolete carveout commit accounting.
Bug 1529015
Change-Id: If7e25ca2ef43c036558c9c9ead5f67ee8eef6b42
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/426734
(cherry picked from commit c1ddad1b13332386857f9f2964aa8968094e7e8c)
Reviewed-on: http://git-master/r/448554
Tested-by: Winnie Hsu <whsu@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/nvmap/nvmap_priv.h')
-rw-r--r-- | drivers/video/tegra/nvmap/nvmap_priv.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/video/tegra/nvmap/nvmap_priv.h b/drivers/video/tegra/nvmap/nvmap_priv.h index fefe949c88b1..8dda14986ec8 100644 --- a/drivers/video/tegra/nvmap/nvmap_priv.h +++ b/drivers/video/tegra/nvmap/nvmap_priv.h @@ -232,11 +232,6 @@ int nvmap_page_pool_clear(void); int nvmap_page_pool_debugfs_init(struct dentry *nvmap_root); #endif -struct nvmap_carveout_commit { - size_t commit; - struct list_head list; -}; - struct nvmap_client { const char *name; struct rb_root handle_refs; @@ -247,7 +242,6 @@ struct nvmap_client { struct list_head list; u32 handle_count; u32 next_fd; - struct nvmap_carveout_commit carveout_commit[0]; int warned; }; @@ -361,12 +355,6 @@ unsigned long nvmap_carveout_usage(struct nvmap_client *c, struct nvmap_heap_block *b); struct nvmap_carveout_node; -void nvmap_carveout_commit_add(struct nvmap_client *client, - struct nvmap_carveout_node *node, size_t len); - -void nvmap_carveout_commit_subtract(struct nvmap_client *client, - struct nvmap_carveout_node *node, - size_t len); void nvmap_handle_put(struct nvmap_handle *h); |