From: H Hartley Sweeten Date: Wed, 16 Jul 2014 17:43:42 +0000 (-0700) Subject: staging: comedi: ni_tio_internal.c: checkpatch.pl cleanup (break is not useful) X-Git-Tag: Ubuntu-5.2.0-15.16~13065^2~633 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1ba7577469e1b26704f7cdab17195a2147ee774d;p=mirror_ubuntu-eoan-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_tio_internal.h b/drivers/staging/comedi/drivers/ni_tio_internal.h index 15b81b8fc5c4..3c53958bbbbf 100644 --- a/drivers/staging/comedi/drivers/ni_tio_internal.h +++ b/drivers/staging/comedi/drivers/ni_tio_internal.h @@ -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;