mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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: Nicholas Sim <nicholassimws@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e7c77e437b
commit
26b6943236
1 changed files with 2 additions and 1 deletions
|
@ -3450,8 +3450,9 @@ static void XGI_SetGroup2(unsigned short ModeNo, unsigned short ModeIdIndex,
|
|||
if (!(pVBInfo->TVInfo &
|
||||
(TVSetYPbPr525p | TVSetYPbPr750p)))
|
||||
tempbx >>= 1;
|
||||
} else
|
||||
} else {
|
||||
tempbx >>= 1;
|
||||
}
|
||||
}
|
||||
|
||||
tempbx -= 2;
|
||||
|
|
Loading…
Reference in a new issue