drm/i915/dp: remove redundant is_pch_edp checks
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 7 Oct 2010 23:01:07 +0000 (16:01 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Oct 2010 08:20:04 +0000 (09:20 +0100)
commit4d9264615b98fe8015eca7d84a9862b1489c69d4
tree02c04f133ee1e56e7ee2bf661ed5aba50d7668bb
parentcfcb0fc9c2f2decf065e9a6a1c622541e8b4090b
drm/i915/dp: remove redundant is_pch_edp checks

If is_edp is true, is_pch_edp will always be true.  So limit the calls
to the latter function to places where the distinction actually matters.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_dp.c