]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pci230: collapse some 'else { if' chains
authorIan Abbott <abbotti@mev.co.uk>
Mon, 1 Sep 2014 11:03:36 +0000 (12:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Sep 2014 18:21:31 +0000 (11:21 -0700)
commit3a2207dfc851ca281482dd2d87d386a95e119515
treee63d06cd7715b9d4b4f45fcd9eca854f59905794
parent5a50506d1209e63c8055189060e9121663e14efe
staging: comedi: amplc_pci230: collapse some 'else { if' chains

Where the only thing in an `else { ... }` block is another `if`
statement, collapse it to an `else if {` block where it makes sense to
do so.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pci230.c