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

staging: comedi: ni_tio_internal.c: 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 a8b6c4f5
...@@ -334,11 +334,9 @@ static inline int ni_tio_counting_mode_registers_present(const struct ...@@ -334,11 +334,9 @@ static inline int ni_tio_counting_mode_registers_present(const struct
switch (counter_dev->variant) { switch (counter_dev->variant) {
case ni_gpct_variant_e_series: case ni_gpct_variant_e_series:
return 0; return 0;
break;
case ni_gpct_variant_m_series: case ni_gpct_variant_m_series:
case ni_gpct_variant_660x: case ni_gpct_variant_660x:
return 1; return 1;
break;
default: default:
BUG(); BUG();
break; break;
......
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