Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5975238 authored by Janani Ravichandran's avatar Janani Ravichandran Committed by Greg Kroah-Hartman
Browse files

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: default avatarJanani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c8279611
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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);
}