]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: remove redundant if check
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 21 Jul 2015 12:06:46 +0000 (17:36 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 Jul 2015 13:50:30 +0000 (15:50 +0200)
commit839166040267c3cf15f4b7b946e8ef3db0c8c7a3
tree619cd0fb84a74654789cd6f949ff0a676e0b3400
parent99ad9832c6c82117b44db43c04f4325a0c213c6a
drm/i915: remove redundant if check

The extra check for connector_type is not required as we are already
checking for connector_type != DRM_MODE_CONNECTOR_DisplayPort.
The check was added by commit 54948439f13a ("drm/i915: Add debugfs test
control files for Displayport compliance testing")

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c