staging: xgifb: vb_setmode.c Braces single statement blocks
authorWalt Feasel <waltfeasel@gmail.com>
Fri, 18 Nov 2016 00:12:51 +0000 (19:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Nov 2016 13:17:51 +0000 (14:17 +0100)
Make suggested checkpatch modificationfor
WARNING: braces {} are not necessary for single
statement blocks

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c

index 480d94acdb68c67210629a83815226592bef47fe..9c26f0a7c80dc559b492cfd53f8ee065c98b487a 100644 (file)
@@ -1681,13 +1681,11 @@ static unsigned char XGI_GetVCLKPtr(unsigned short RefreshRateTableIndex,
                                return tempal;
                        }
 
-                       if (pVBInfo->TVInfo & TVSetYPbPr750p) {
+                       if (pVBInfo->TVInfo & TVSetYPbPr750p)
                                return XGI_YPbPr750pVCLK;
-                       }
 
-                       if (pVBInfo->TVInfo & TVSetYPbPr525p) {
+                       if (pVBInfo->TVInfo & TVSetYPbPr525p)
                                return YPbPr525pVCLK;
-                       }
 
                        tempal = NTSC1024VCLK;