Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Walt Feasel and committed by
Greg Kroah-Hartman
c193e792 ad1698aa

+2 -4
+2 -4
drivers/staging/xgifb/vb_setmode.c
··· 1681 1681 return tempal; 1682 1682 } 1683 1683 1684 - if (pVBInfo->TVInfo & TVSetYPbPr750p) { 1684 + if (pVBInfo->TVInfo & TVSetYPbPr750p) 1685 1685 return XGI_YPbPr750pVCLK; 1686 - } 1687 1686 1688 - if (pVBInfo->TVInfo & TVSetYPbPr525p) { 1687 + if (pVBInfo->TVInfo & TVSetYPbPr525p) 1689 1688 return YPbPr525pVCLK; 1690 - } 1691 1689 1692 1690 tempal = NTSC1024VCLK; 1693 1691