From: Andrey Grodzovsky Date: Tue, 27 Jun 2017 14:02:48 +0000 (-0400) Subject: drm/amd/display: Clean up unused function. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2782488ae6c0b53d57435aa6dc358e61550393d2;p=linux.git drm/amd/display: Clean up unused function. Signed-off-by: Andrey Grodzovsky Reviewed-by: Leo Li Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index 190905e08c38c..2d34f9bb5d47f 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;