projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
305b9ed
)
drm/i915: remove rate_to_index, messed up merge.
author
Dave Airlie
<airlied@redhat.com>
Tue, 20 Jun 2017 22:56:54 +0000
(08:56 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 20 Jun 2017 22:56:54 +0000
(08:56 +1000)
This was from a merge I did incorrectly.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/intel_dp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dp.c
b/drivers/gpu/drm/i915/intel_dp.c
index 31998d09a662ece6f93229aed5b2c22daf0974e7..64fa774c855b91e9f400fe90da6e8b56bd4520a9 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_dp.c
+++ b/
drivers/gpu/drm/i915/intel_dp.c
@@
-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)
{