Explorar o código

drm/amd/display: Clean up unused function.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Andrey Grodzovsky %!s(int64=8) %!d(string=hai) anos
pai
achega
2782488ae6
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h

+ 0 - 6
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;