Skip to content

Commit 296923e

Browse files
committed
drm/i915: remove rate_to_index, messed up merge.
This was from a merge I did incorrectly. Signed-off-by: Dave Airlie <[email protected]>
1 parent 305b9ed commit 296923e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

drivers/gpu/drm/i915/intel_dp.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,17 +1548,6 @@ static void intel_dp_print_rates(struct intel_dp *intel_dp)
15481548
DRM_DEBUG_KMS("common rates: %s\n", str);
15491549
}
15501550

1551-
static int rate_to_index(int find, const int *rates)
1552-
{
1553-
int i = 0;
1554-
1555-
for (i = 0; i < DP_MAX_SUPPORTED_RATES; ++i)
1556-
if (find == rates[i])
1557-
break;
1558-
1559-
return i;
1560-
}
1561-
15621551
int
15631552
intel_dp_max_link_rate(struct intel_dp *intel_dp)
15641553
{

0 commit comments

Comments
 (0)