Staging: xgifb: fix braces {} are not necessary for any arm of this statement
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Tue, 29 Oct 2013 20:50:54 +0000 (22:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Oct 2013 16:22:05 +0000 (09:22 -0700)
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>
drivers/staging/xgifb/vb_setmode.c

index eed58f9..400c726 100644 (file)
@@ -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 */