mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 11:41:37 -04:00
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: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a8b6c4f5a8
commit
1ba7577469
@@ -334,11 +334,9 @@ static inline int ni_tio_counting_mode_registers_present(const struct
|
||||
switch (counter_dev->variant) {
|
||||
case ni_gpct_variant_e_series:
|
||||
return 0;
|
||||
break;
|
||||
case ni_gpct_variant_m_series:
|
||||
case ni_gpct_variant_660x:
|
||||
return 1;
|
||||
break;
|
||||
default:
|
||||
BUG();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user