* [PATCH] [STYLE 20/20]staging:xgifb:vb_setmode.c Braces single statement
@ 2016-11-14 5:13 Walt Feasel
0 siblings, 0 replies; only message in thread
From: Walt Feasel @ 2016-11-14 5:13 UTC (permalink / raw)
To: arnaud.patard; +Cc: gregkh, devel, linux-kernel, Walt Feasel
Make suggested modification from checkpatch in reference
to WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
---
drivers/staging/xgifb/vb_setmode.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c
index 8e12ec3..415d193 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -1679,13 +1679,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;
--
2.1.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-14 5:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-14 5:13 [PATCH] [STYLE 20/20]staging:xgifb:vb_setmode.c Braces single statement Walt Feasel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).