From 669cb2f0c4af8f01ac1d83d854258287077bbe95 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Tue, 17 Jun 2014 15:09:51 +1000 Subject: [PATCH] drivers/intel/gma: Equality comparison with extraneous parentheses Spotted by Clang. Change-Id: I3e612c0fa050a09fa7e5b1cb643935b84eb2b957 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/6053 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Idwer Vollering --- src/drivers/intel/gma/intel_dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/intel/gma/intel_dp.c b/src/drivers/intel/gma/intel_dp.c index b824cb7950..30c25684d0 100644 --- a/src/drivers/intel/gma/intel_dp.c +++ b/src/drivers/intel/gma/intel_dp.c @@ -811,7 +811,7 @@ void ironlake_edp_panel_on(struct intel_dp *intel_dp) ironlake_wait_panel_power_cycle(intel_dp); pp = ironlake_get_pp_control(); - if ((intel_dp->gen == 5)) { + if (intel_dp->gen == 5) { /* ILK workaround: disable reset around power sequence */ pp &= ~PANEL_POWER_RESET; io_i915_write32(pp, PCH_PP_CONTROL); @@ -827,7 +827,7 @@ void ironlake_edp_panel_on(struct intel_dp *intel_dp) ironlake_wait_panel_on(intel_dp); - if ((intel_dp->gen == 5)) { + if (intel_dp->gen == 5) { pp |= PANEL_POWER_RESET; /* restore panel reset bit */ io_i915_write32(pp, PCH_PP_CONTROL); ////POSTING_READ(PCH_PP_CONTROL);