Skip to content

Commit 192b3ff

Browse files
iskaranthgregkh
authored andcommitted
staging: comedi: remove break after return
Remove "break" statement after a "return" statement as it does not get executed. Deadcode found by coccinelle --debug option Signed-off-by: Supriya Karanth <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f0dff42 commit 192b3ff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/staging/comedi/drivers/ni_mio_common.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3811,8 +3811,6 @@ static int ni_serial_insn_config(struct comedi_device *dev,
38113811
Clock_and_FOUT_Register);
38123812
return 1;
38133813

3814-
break;
3815-
38163814
case INSN_CONFIG_BIDIRECTIONAL_DATA:
38173815

38183816
if (devpriv->serial_interval_ns == 0)

0 commit comments

Comments
 (0)