drm/radeon: Use the drm_driver.dumb_destroy default
authorNoralf Trønnes <[email protected]>
Sun, 6 Aug 2017 15:41:04 +0000 (17:41 +0200)
committerNoralf Trønnes <[email protected]>
Tue, 8 Aug 2017 10:33:33 +0000 (12:33 +0200)
drm_gem_dumb_destroy() is the drm_driver.dumb_destroy default,
so no need to set it.

Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Signed-off-by: Noralf Trønnes <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/radeon/radeon_drv.c

index b401f1689bc168c6141768bae8acec81d8957301..f4becad0a78c0b0b13bdf14cb8a0d077ef805841 100644 (file)
@@ -583,7 +583,6 @@ static struct drm_driver kms_driver = {
        .gem_close_object = radeon_gem_object_close,
        .dumb_create = radeon_mode_dumb_create,
        .dumb_map_offset = radeon_mode_dumb_mmap,
-       .dumb_destroy = drm_gem_dumb_destroy,
        .fops = &radeon_driver_kms_fops,
 
        .prime_handle_to_fd = drm_gem_prime_handle_to_fd,