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)
commit840d435f15f43bd3b45be586d3cc3b4803939176
treee63d06cd7715b9d4b4f45fcd9eca854f59905794
parentcbbbd20d04282cfb19829aaa646cf57700635841
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
This page took 0.025286 seconds and 5 git commands to generate.