From: Noralf Trønnes Date: Sun, 6 Aug 2017 15:40:57 +0000 (+0200) Subject: drm/udl: Use the drm_driver.dumb_destroy default X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e966f5df9c0328c8b2845a60cdde06f61a59ec6c;p=openwrt%2Fstaging%2Fblogic.git drm/udl: Use the drm_driver.dumb_destroy default drm_gem_dumb_destroy() is the drm_driver.dumb_destroy default, so no need to set it. Cc: Dave Airlie Signed-off-by: Noralf Trønnes Reviewed-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/1502034068-51384-9-git-send-email-noralf@tronnes.org --- diff --git a/drivers/gpu/drm/udl/udl_drv.c b/drivers/gpu/drm/udl/udl_drv.c index 96c44ede5d69..bfacb294d5c4 100644 --- a/drivers/gpu/drm/udl/udl_drv.c +++ b/drivers/gpu/drm/udl/udl_drv.c @@ -54,7 +54,6 @@ static struct drm_driver driver = { .dumb_create = udl_dumb_create, .dumb_map_offset = udl_gem_mmap, - .dumb_destroy = drm_gem_dumb_destroy, .fops = &udl_driver_fops, .prime_handle_to_fd = drm_gem_prime_handle_to_fd,