From a5975238323b249d75e1cf4095651d72fed11708 Mon Sep 17 00:00:00 2001 From: Janani Ravichandran Date: Sat, 13 Feb 2016 22:23:17 -0500 Subject: [PATCH] staging: sm750fb: Remove unneeded braces in if...else statements Remove unnecessary braces in if...else statements where both branches have a single statement each. Signed-off-by: Janani Ravichandran Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sm750fb/ddk750_power.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_power.c b/drivers/staging/sm750fb/ddk750_power.c index ec1cac2c1793..33e092e026e9 100644 --- a/drivers/staging/sm750fb/ddk750_power.c +++ b/drivers/staging/sm750fb/ddk750_power.c @@ -106,11 +106,10 @@ void enable2DEngine(unsigned int enable) u32 gate; gate = PEEK32(CURRENT_GATE); - if (enable) { + if (enable) gate |= (CURRENT_GATE_DE | CURRENT_GATE_CSC); - } else { + else gate &= ~(CURRENT_GATE_DE | CURRENT_GATE_CSC); - } setCurrentGate(gate); } -- 2.39.5