staging: comedi: serial2000: reduce indent level of serial2002_setup_subdevs()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:02:02 +0000 (11:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:37:19 +0000 (13:37 -0700)
commit624e6446da03c985fd53af73cd4546d45d44e908
tree6cf3568441c4d7aea6afebb5cd15d0bb85674c69
parent96afd186f01863ae4a8e39b50055a545610f2c26
staging: comedi: serial2000: reduce indent level of serial2002_setup_subdevs()

Tidy up this function a bit to reduce the indent level.

This also fixex the checkpatch.pl warning:

WARNING: else is not generally useful after a break or return

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/serial2002.c
This page took 0.024985 seconds and 5 git commands to generate.