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

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
...@@ -3450,9 +3450,10 @@ static void XGI_SetGroup2(unsigned short ModeNo, unsigned short ModeIdIndex, ...@@ -3450,9 +3450,10 @@ static void XGI_SetGroup2(unsigned short ModeNo, unsigned short ModeIdIndex,
if (!(pVBInfo->TVInfo & if (!(pVBInfo->TVInfo &
(TVSetYPbPr525p | TVSetYPbPr750p))) (TVSetYPbPr525p | TVSetYPbPr750p)))
tempbx >>= 1; tempbx >>= 1;
} else } else {
tempbx >>= 1; tempbx >>= 1;
} }
}
tempbx -= 2; tempbx -= 2;
temp = tempbx & 0x00FF; temp = tempbx & 0x00FF;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment