mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
staging: xgifb: add braces around if statement
add braces around if statment to fix the checkpatch issue, braces {} should be used on all arms of this statement. Signed-off-by: Gargi Sharma <gs051095@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
999c8c28a8
commit
7bc6edf95b
@ -178,9 +178,9 @@ static int XGIfb_mode_rate_to_ddata(struct vb_device_info *XGI_Pr,
|
||||
*sync |= FB_SYNC_HOR_HIGH_ACT;
|
||||
|
||||
*vmode = FB_VMODE_NONINTERLACED;
|
||||
if (XGI330_RefIndex[RefreshRateTableIndex].Ext_InfoFlag & 0x0080)
|
||||
if (XGI330_RefIndex[RefreshRateTableIndex].Ext_InfoFlag & 0x0080) {
|
||||
*vmode = FB_VMODE_INTERLACED;
|
||||
else {
|
||||
} else {
|
||||
j = 0;
|
||||
while (XGI330_EModeIDTable[j].Ext_ModeID != 0xff) {
|
||||
if (XGI330_EModeIDTable[j].Ext_ModeID ==
|
||||
|
Loading…
x
Reference in New Issue
Block a user