From: Dan Carpenter Date: Sun, 13 Jan 2013 20:05:05 +0000 (+0300) Subject: Staging: comedi: add a missing break statement X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8841d798f42430133a7874430ac634347b31fce5;p=openwrt%2Fstaging%2Fblogic.git Staging: comedi: add a missing break statement This is a static checker fix. From the context it looks like there should be a break here. Signed-off-by: Dan Carpenter Acked-by: 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 0c991b99da13..13747f324936 100644 --- a/drivers/staging/comedi/drivers/ni_tiocmd.c +++ b/drivers/staging/comedi/drivers/ni_tiocmd.c @@ -159,6 +159,7 @@ static int ni_tio_input_cmd(struct ni_gpct *counter, struct comedi_async *async) async->inttrig = NULL; mite_dma_arm(counter->mite_chan); retval = ni_tio_arm(counter, 1, cmd->start_arg); + break; case TRIG_OTHER: async->inttrig = NULL; mite_dma_arm(counter->mite_chan);