Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 296923e1 authored by Dave Airlie's avatar Dave Airlie
Browse files

drm/i915: remove rate_to_index, messed up merge.



This was from a merge I did incorrectly.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 305b9edd
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -1548,17 +1548,6 @@ static void intel_dp_print_rates(struct intel_dp *intel_dp)
	DRM_DEBUG_KMS("common rates: %s\n", str);
}

static int rate_to_index(int find, const int *rates)
{
	int i = 0;

	for (i = 0; i < DP_MAX_SUPPORTED_RATES; ++i)
		if (find == rates[i])
			break;

	return i;
}

int
intel_dp_max_link_rate(struct intel_dp *intel_dp)
{