From 2782488ae6c0b53d57435aa6dc358e61550393d2 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 27 Jun 2017 10:02:48 -0400 Subject: drm/amd/display: Clean up unused function. Signed-off-by: Andrey Grodzovsky Reviewed-by: Leo Li Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h') diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index 190905e08c38..2d34f9bb5d47 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h @@ -450,12 +450,6 @@ struct dm_plane_state { struct dc_surface* dc_surface; }; -static inline struct dm_plane_state * -to_amdgpu_plane_state(struct drm_plane_state *state) -{ - return container_of(state, struct dm_plane_state, base); -} - struct amdgpu_plane { struct drm_plane base; enum drm_plane_type plane_type; -- cgit v1.2.3