staging: sm750fb: Remove unneeded braces in if...else statements
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/staging/sm750fb/ddk750_power.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/sm750fb/ddk750_power.c +2 -3
@@ -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); }
Signature · 1 line
2.5.0