]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/amd/display: Clean up unused function.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Tue, 27 Jun 2017 14:02:48 +0000 (10:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:08:16 +0000 (18:08 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h

index 190905e08c38c30dda1bca5adbd6178c6976e94c..2d34f9bb5d47fc28d92c6207758cacb1b70325c7 100644 (file)
@@ -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;