From: H Hartley Sweeten Date: Wed, 16 Jul 2014 17:43:39 +0000 (-0700) Subject: staging: comedi: ni_tiocmd: checkpatch.pl cleanup (break is not useful) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1c6820bc167a06e4b28c586a990b8bf6a173d64b;p=openwrt%2Fstaging%2Fblogic.git 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: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_tiocmd.c b/drivers/staging/comedi/drivers/ni_tiocmd.c index 2557ab48cb6c..f66b504811bf 100644 --- a/drivers/staging/comedi/drivers/ni_tiocmd.c +++ b/drivers/staging/comedi/drivers/ni_tiocmd.c @@ -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); {