drm: Remove the drm_get_unmapped_area() helper
authorZack Rusin <zackr@vmware.com>
Mon, 25 Apr 2022 20:31:52 +0000 (16:31 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 4 Aug 2022 15:39:27 +0000 (11:39 -0400)
commit01224faa36e86a2b9d423fe851c05feb288ae83d
tree58707354f8e6c77258b08d00a1d8ddb63948896a
parent7fbee3eb9ab82c4b8c240617a1b3878c6981dd73
drm: Remove the drm_get_unmapped_area() helper

This has been only used by the vmwgfx driver and vmwgfx over the last
year removed support for transparent hugepages on vram leaving
drm_get_unmapped_area completely unused.

There's no point in keeping unused code in core drm.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20220425203152.1314211-2-zack@kde.org
drivers/gpu/drm/drm_file.c
include/drm/drm_file.h