]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: mite.h: tidy up mite_csigr_wpdep()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 17:43:43 +0000 (10:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:34:24 +0000 (13:34 -0700)
commit3176b5e95edf9790dfa1b4759b21b41725666a73
tree45fce8f56ac1eb23e74ba42798fe1d3ffdb89a1e
parent1ba7577469e1b26704f7cdab17195a2147ee774d
staging: comedi: mite.h: tidy up mite_csigr_wpdep()

Refactor this inline function to fix the checkpatch.pl warnings:

WARNING: Missing a blank line after declarations
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/mite.h