diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 0be8d5cd7826519c9c1128c5ce80e52326daf024..2ce5ace5008a36e035fe447235f344041445ac8f 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -1935,9 +1935,6 @@ int radeon_debugfs_add_files(struct radeon_device *rdev, rdev->debugfs[rdev->debugfs_count].num_files = nfiles; rdev->debugfs_count = i; #if defined(CONFIG_DEBUG_FS) - drm_debugfs_create_files(files, nfiles, - rdev->ddev->control->debugfs_root, - rdev->ddev->control); drm_debugfs_create_files(files, nfiles, rdev->ddev->primary->debugfs_root, rdev->ddev->primary); @@ -1951,9 +1948,6 @@ static void radeon_debugfs_remove_files(struct radeon_device *rdev) unsigned i; for (i = 0; i < rdev->debugfs_count; i++) { - drm_debugfs_remove_files(rdev->debugfs[i].files, - rdev->debugfs[i].num_files, - rdev->ddev->control); drm_debugfs_remove_files(rdev->debugfs[i].files, rdev->debugfs[i].num_files, rdev->ddev->primary);