staging: comedi: remove break after return
authorSupriya Karanth <iskaranth@gmail.com>
Fri, 13 Mar 2015 12:00:20 +0000 (21:00 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Mar 2015 17:41:15 +0000 (18:41 +0100)
Remove "break" statement after a "return" statement as
it does not get executed.

Deadcode found by coccinelle --debug option

Signed-off-by: Supriya Karanth <iskaranth@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c

index ecfd0544cf4086a5c7be14e64761b3e9af930689..ada050eb359cfddf7e821033ff5f0ba97eedc7aa 100644 (file)
@@ -3811,8 +3811,6 @@ static int ni_serial_insn_config(struct comedi_device *dev,
                              Clock_and_FOUT_Register);
                return 1;
 
-               break;
-
        case INSN_CONFIG_BIDIRECTIONAL_DATA:
 
                if (devpriv->serial_interval_ns == 0)