]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d4ce73d97c091ccae0f106233bc7a0b8bc7ae5c
tree02c04f133ee1e56e7ee2bf661ed5aba50d7668bb
parent240b636828fcbde13286531a29661ac5e791e918
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