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

Commit 26b69432 authored by Nicholas Sim's avatar Nicholas Sim Committed by Greg Kroah-Hartman
Browse files

staging: xgifb: ensure braces on all arms of if stmt



Added braces on else arm of if statement where if arm already has braces
as suggested for clarity in Documentation/CodingStyle

Signed-off-by: default avatarNicholas Sim <nicholassimws@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e7c77e43
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3450,9 +3450,10 @@ static void XGI_SetGroup2(unsigned short ModeNo, unsigned short ModeIdIndex,
			if (!(pVBInfo->TVInfo &
			    (TVSetYPbPr525p | TVSetYPbPr750p)))
				tempbx >>= 1;
		} else
		} else {
			tempbx >>= 1;
		}
	}

	tempbx -= 2;
	temp = tempbx & 0x00FF;