From: Noralf Trønnes Date: Sun, 23 Jul 2017 19:16:48 +0000 (+0200) Subject: drm/nouveau: Use the drm_driver.dumb_destroy default X-Git-Tag: v4.14-rc1~8^2~32^2~69 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1e1d5bf4dc145a3ffb885513b14236d73847c3d4;p=uclinux-h8%2Flinux.git drm/nouveau: 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: Ben Skeggs Signed-off-by: Noralf Trønnes Acked-by: Alex Deucher Link: https://patchwork.freedesktop.org/patch/msgid/1500837417-40580-33-git-send-email-noralf@tronnes.org --- diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 2600b3b9f2e7..df7e2037031a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -998,7 +998,6 @@ driver_stub = { .dumb_create = nouveau_display_dumb_create, .dumb_map_offset = nouveau_display_dumb_map_offset, - .dumb_destroy = drm_gem_dumb_destroy, .name = DRIVER_NAME, .desc = DRIVER_DESC,