Skip to content

Commit

Permalink
drm/nouveau: Use the drm_driver.dumb_destroy default
Browse files Browse the repository at this point in the history
drm_gem_dumb_destroy() is the drm_driver.dumb_destroy default,
so no need to set it.

Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1500837417-40580-33-git-send-email-noralf@tronnes.org
  • Loading branch information
Noralf Trønnes committed Jul 29, 2017
1 parent 4ab732a commit 1e1d5bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/nouveau/nouveau_drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1e1d5bf

Please sign in to comment.