summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb
diff options
context:
space:
mode:
authorNicholas Sim <nicholassimws@gmail.com>2016-03-23 23:02:24 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 07:30:36 -0700
commit26b694323637be61be89d391c1713d85d66b457d (patch)
tree61845dfc29b665e10837a6ea821839c98aefc9bd /drivers/staging/xgifb
parente7c77e437b7cbb632a3708ea3a3bb270f4fc4677 (diff)
downloadop-kernel-dev-26b694323637be61be89d391c1713d85d66b457d.zip
op-kernel-dev-26b694323637be61be89d391c1713d85d66b457d.tar.gz
staging: xgifb: ensure braces on all arms of if stmt
Added braces on else arm of if statement where if arm already has braces as suggested for clarity in Documentation/CodingStyle Signed-off-by: Nicholas Sim <nicholassimws@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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c
index f97c77d..14230c2 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -3450,8 +3450,9 @@ static void XGI_SetGroup2(unsigned short ModeNo, unsigned short ModeIdIndex,
if (!(pVBInfo->TVInfo &
(TVSetYPbPr525p | TVSetYPbPr750p)))
tempbx >>= 1;
- } else
+ } else {
tempbx >>= 1;
+ }
}
tempbx -= 2;
OpenPOWER on IntegriCloud