summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_gem.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2023-01-26 11:26:38 +0100
committerChristian König <christian.koenig@amd.com>2023-02-10 12:19:27 +0100
commit96a7b60f6ddb2bc966fac800c1dd18876a6e3c3f (patch)
treec71967012c8107940751d62a412f3c669ce7cd6a /drivers/gpu/drm/drm_gem.c
parentaed01a68047bd92e6f1273fb2e0b8e99ca72a876 (diff)
downloadlinux-stable-96a7b60f6ddb2bc966fac800c1dd18876a6e3c3f.tar.gz
linux-stable-96a7b60f6ddb2bc966fac800c1dd18876a6e3c3f.tar.bz2
linux-stable-96a7b60f6ddb2bc966fac800c1dd18876a6e3c3f.zip
drm: remove dumb_destroy callback
Not used by any driver any more. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Tested-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230126102814.8722-2-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
-rw-r--r--drivers/gpu/drm/drm_gem.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c
index 59a0bb5ebd85..aa15c52ae182 100644
--- a/drivers/gpu/drm/drm_gem.c
+++ b/drivers/gpu/drm/drm_gem.c
@@ -336,13 +336,6 @@ out:
}
EXPORT_SYMBOL_GPL(drm_gem_dumb_map_offset);
-int drm_gem_dumb_destroy(struct drm_file *file,
- struct drm_device *dev,
- u32 handle)
-{
- return drm_gem_handle_delete(file, handle);
-}
-
/**
* drm_gem_handle_create_tail - internal functions to create a handle
* @file_priv: drm file-private structure to register the handle for