]> git.baikalelectronics.ru Git - kernel.git/commit
staging: xgifb: remove extra braces from if stmt (single branch)
authorNicholas Sim <nicholassimws@gmail.com>
Wed, 23 Mar 2016 23:02:59 +0000 (23:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit12f871c399eacd2b403ef06e201b2de1161a2b9b
treebf6afdbb71e77342c0483075c8aaf59bbfcbd60e
parent068d05ed676d4b79d3153db9a76ea29c21ffc480
staging: xgifb: remove extra braces from if stmt (single branch)

Remove braces from one branch of if statement where both branches only
have a single line of code, as suggested in Documentation/CodingStyle

Signed-off-by: Nicholas Sim <nicholassimws@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c