aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_gem.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2013-09-28 10:13:04 -0400
committerRob Clark <robdclark@gmail.com>2013-09-28 10:14:06 -0400
commit30600a9092dc44694fbb4d0c3fa796e977fd5c96 (patch)
tree0b0bd86772244aba692fc51af71103c0c35efd88 /drivers/gpu/drm/msm/msm_gem.c
parentdrm/msm: deal with mach/iommu.h removal (diff)
downloadlinux-dev-30600a9092dc44694fbb4d0c3fa796e977fd5c96.tar.xz
linux-dev-30600a9092dc44694fbb4d0c3fa796e977fd5c96.zip
drm/msm: use drm_gem_dumb_destroy helper
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/msm/msm_gem.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c
index 29eacfa29cfb..2bae46c66a30 100644
--- a/drivers/gpu/drm/msm/msm_gem.c
+++ b/drivers/gpu/drm/msm/msm_gem.c
@@ -319,13 +319,6 @@ int msm_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
MSM_BO_SCANOUT | MSM_BO_WC, &args->handle);
}
-int msm_gem_dumb_destroy(struct drm_file *file, struct drm_device *dev,
- uint32_t handle)
-{
- /* No special work needed, drop the reference and see what falls out */
- return drm_gem_handle_delete(file, handle);
-}
-
int msm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
uint32_t handle, uint64_t *offset)
{