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

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
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment