There are no call sites for these nor do they do anything but return a boolean true. For now avoid the clutter. Signed-off-by: Edward O'Callaghan <eocallaghan@xxxxxxxxxxxxxxxx> --- drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c | 14 -------------- drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h | 5 ----- 2 files changed, 19 deletions(-) diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c index 71b2808b..ce70af2 100644 --- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c @@ -1379,17 +1379,3 @@ static int dm_early_init(void *handle) return 0; } - -bool amdgpu_dm_acquire_dal_lock(struct amdgpu_display_manager *dm) -{ - /* TODO */ - return true; -} - -bool amdgpu_dm_release_dal_lock(struct amdgpu_display_manager *dm) -{ - /* TODO */ - return true; -} - - diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h index d497b6d..e23671b 100644 --- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h +++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h @@ -148,11 +148,6 @@ int amdgpu_dm_initialize_drm_device( void amdgpu_dm_destroy_drm_device( struct amdgpu_display_manager *dm); -/* Locking/Mutex */ -bool amdgpu_dm_acquire_dal_lock(struct amdgpu_display_manager *dm); - -bool amdgpu_dm_release_dal_lock(struct amdgpu_display_manager *dm); - /* Register "Backlight device" accessible by user-mode. */ void amdgpu_dm_register_backlight_device(struct amdgpu_display_manager *dm); -- 2.5.5 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel