mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 02:00:43 -04:00
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:
committed by
Greg Kroah-Hartman
parent
c8279611f3
commit
a597523832
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user