staging: comedi: ni_tiocmd: checkpatch.pl cleanup (break is not useful)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 17:43:39 +0000 (10:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:34:23 +0000 (13:34 -0700)
Fix the checkpatch.pl warning:

WARNING: break is not useful after a goto 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/ni_tiocmd.c

index 2557ab48cb6caf33dccb9bdbe519e24ad02dc8cf..f66b504811bf3fcec3be7a7be347f32cba0dfde4 100644 (file)
@@ -342,7 +342,6 @@ static int should_ack_gate(struct ni_gpct *counter)
            in register-level manual) */
        case ni_gpct_variant_660x:
                return 1;
-               break;
        case ni_gpct_variant_e_series:
                spin_lock_irqsave(&counter->lock, flags);
                {