diff mbox

[7/9] drm/i915/dp: Avoid double-printing esi regs

Message ID 20170912235730.3492-7-dhinakaran.pandiyan@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dhinakaran Pandiyan Sept. 12, 2017, 11:57 p.m. UTC
We debug log the esi dpcd's twice after reading them back, which is not
necessary.

Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
---
 drivers/gpu/drm/i915/intel_dp.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 2886a2ef1591..aab9ba31f79e 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -4224,10 +4224,8 @@  intel_dp_check_mst_status(struct intel_dp *intel_dp)
 			}
 
 			bret = intel_dp_get_sink_irq_esi(intel_dp, esi);
-			if (bret == true) {
-				DRM_DEBUG_KMS("got esi2 %3ph\n", esi);
+			if (bret == true)
 				goto go_again;
-			}
 		} else {
 			ret = 0;
 		}