Staging: comedi: addi-data: fix brace-related coding style issues in hwdrv_apci035.c
authorChase Southwood <chase.southwood@yahoo.com>
Sun, 16 Feb 2014 08:40:06 +0000 (02:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 19:15:21 +0000 (11:15 -0800)
commit20758c5b912b47939300e7f67d6d124899caedd5
tree526286b6bea0eaab5b3c4210c2b670fdee26c05b
parent2a3fcc51639cb4ad1a841bc169a1ddb993455076
Staging: comedi: addi-data: fix brace-related coding style issues in hwdrv_apci035.c

This patch for hwdrv_apci035 removes some unneeded braces, and moves some
improperly placed braces to the correct position, as found by checkpatch.
It also removes a commented out if-statement that I found whilst cleaning
braces that is identical to another un-commented if-statement directly
above it, so it is just added clutter and so we can delete it to clean up
further.

Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c