]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
video: tegra: nvmap: remove obsolete function nvmap_client_to_device
authorKrishna Reddy <vdumpa@nvidia.com>
Mon, 24 Mar 2014 16:01:59 +0000 (09:01 -0700)
committerKrishna Reddy <vdumpa@nvidia.com>
Mon, 24 Mar 2014 23:36:27 +0000 (16:36 -0700)
Change-Id: Id5233b7b2b9e291bbfcf3d1b555be99284dc85ff
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/385716
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit

drivers/video/tegra/nvmap/nvmap_dev.c
drivers/video/tegra/nvmap/nvmap_priv.h

index 8e82f7a5bd61138b186bb5cc5e1144c888e450c9..d528a303a9090ffbf777484c97e5f28d2b0cee48 100644 (file)
@@ -113,13 +113,6 @@ int is_nvmap_vma(struct vm_area_struct *vma)
        return vma->vm_ops == &nvmap_vma_ops;
 }
 
-struct device *nvmap_client_to_device(struct nvmap_client *client)
-{
-       if (!client)
-               return 0;
-       return nvmap_dev->dev_user.this_device;
-}
-
 /*
  * Verifies that the passed ID is a valid handle ID. Then the passed client's
  * reference to the handle is returned.
index 6fe4baf0cd01fa42681f4332581f9635662423f1..ad5db121470eb5df03412c24734fbf0df7a377b8 100644 (file)
@@ -299,8 +299,6 @@ pgprot_t nvmap_pgprot(struct nvmap_handle *h, pgprot_t prot);
 
 #endif /* !CONFIG_TEGRA_NVMAP */
 
-struct device *nvmap_client_to_device(struct nvmap_client *client);
-
 struct nvmap_heap_block *nvmap_carveout_alloc(struct nvmap_client *dev,
                                              struct nvmap_handle *handle,
                                              unsigned long type);