Commit 1c6820bc authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_tiocmd: checkpatch.pl cleanup (break is not useful)

Fix the checkpatch.pl warning:

WARNING: break is not useful after a goto or return
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 89660697
...@@ -342,7 +342,6 @@ static int should_ack_gate(struct ni_gpct *counter) ...@@ -342,7 +342,6 @@ static int should_ack_gate(struct ni_gpct *counter)
in register-level manual) */ in register-level manual) */
case ni_gpct_variant_660x: case ni_gpct_variant_660x:
return 1; return 1;
break;
case ni_gpct_variant_e_series: case ni_gpct_variant_e_series:
spin_lock_irqsave(&counter->lock, flags); spin_lock_irqsave(&counter->lock, flags);
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment