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 <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Janani Ravichandran 2016-02-13 22:23:17 -05:00 committed by Greg Kroah-Hartman
parent c8279611f3
commit a597523832

View File

@ -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);
}