Commit ed509955 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/display: drop unused variable



Remove unused variable.

Fixes: e7d9560a ("Revert "drm/amd/display: Fix overlay validation by considering cursors"")
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e7d9560a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10120,7 +10120,7 @@ static int validate_overlay(struct drm_atomic_state *state)
{
	int i;
	struct drm_plane *plane;
	struct drm_plane_state *old_plane_state, *new_plane_state;
	struct drm_plane_state *new_plane_state;
	struct drm_plane_state *primary_state, *overlay_state = NULL;

	/* Check if primary plane is contained inside overlay */