diff options
author | Walt Feasel <waltfeasel@gmail.com> | 2016-11-17 19:12:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-19 14:17:51 +0100 |
commit | c193e792edb0c0aab3ee76107bbcc33071a5a4c0 (patch) | |
tree | 99c2989be174f189d446f54595bb3ccacdf8846b /drivers/staging/xgifb | |
parent | ad1698aab1fcb3542465c1a18ae017ea4a73c62a (diff) |
staging: xgifb: vb_setmode.c Braces single statement blocks
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>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r-- | drivers/staging/xgifb/vb_setmode.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c index 480d94acdb68..9c26f0a7c80d 100644 --- a/drivers/staging/xgifb/vb_setmode.c +++ b/drivers/staging/xgifb/vb_setmode.c @@ -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; |