staging: comedi: dt3000: remove deadcode in dt3k_ai_cmdtest()
Reported by: coverity Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6883565484
commit
079d062fb5
1 changed files with 0 additions and 3 deletions
|
|
@ -424,9 +424,6 @@ static int dt3k_ai_cmdtest(struct comedi_device *dev,
|
|||
/* Step 2a : make sure trigger sources are unique */
|
||||
/* Step 2b : and mutually compatible */
|
||||
|
||||
if (err)
|
||||
return 2;
|
||||
|
||||
/* Step 3: check if arguments are trivially valid */
|
||||
|
||||
err |= cfc_check_trigger_arg_is(&cmd->start_arg, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue