Skip to content

Commit

Permalink
Staging: xgifb: fix braces {} are not necessary for any arm of this s…
Browse files Browse the repository at this point in the history
…tatement

Fix checkpatch.pl issues with braces {} are not necessary
for any arm of this statement in vb_setmode.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Ebru Akagunduz authored and Greg Kroah-Hartman committed Oct 30, 2013
1 parent cf97577 commit 4759e82
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -845,11 +845,10 @@ static unsigned short XGI_GetVCLK2Ptr(unsigned short ModeIdIndex,
VCLKIndex = TVCLKBASE_315_25 + HiTVVCLK;

if (pVBInfo->SetFlag & TVSimuMode) {
if (modeflag & Charx8Dot) {
if (modeflag & Charx8Dot)
VCLKIndex = TVCLKBASE_315_25 + HiTVSimuVCLK;
} else {
else
VCLKIndex = TVCLKBASE_315_25 + HiTVTextVCLK;
}
}

/* 301lv */
Expand Down

0 comments on commit 4759e82

Please sign in to comment.