diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index 190905e08c38c30dda1bca5adbd6178c6976e94c..2d34f9bb5d47fc28d92c6207758cacb1b70325c7 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;