summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2020-05-15 12:51:18 +0300
committerEmil Velikov <emil.l.velikov@gmail.com>2020-05-20 00:31:37 +0300
commitab15d56e27be47b7feebffd6e8319ece01959fbf (patch)
tree3c9b2ec05cc129dd268b132280e94bd9c7c634f0 /include/drm
parent95865e3a959047aa1ae7573d3fefe5cdef1cf2ff (diff)
downloadlinux-ab15d56e27be47b7feebffd6e8319ece01959fbf.tar.xz
drm: remove transient drm_gem_object_put_unlocked()
As of last commit, all the drivers have been updated away from the _unlocked helper. As such we can now remove the transient #define. v2: keep sed and #define removal separate Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> (v1) Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20200515095118.2743122-39-emil.l.velikov@gmail.com
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_gem.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h
index 10c5d561eb18..52173abdf500 100644
--- a/include/drm/drm_gem.h
+++ b/include/drm/drm_gem.h
@@ -375,8 +375,6 @@ drm_gem_object_put(struct drm_gem_object *obj)
kref_put(&obj->refcount, drm_gem_object_free);
}
-#define drm_gem_object_put_unlocked drm_gem_object_put
-
void drm_gem_object_put_locked(struct drm_gem_object *obj);
int drm_gem_handle_create(struct drm_file *file_priv,