Commit b3cdebbf authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: addi_apci_2032: remove deadcode in apci2030_int_cmdtest()

Reported by: coverity
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b7e84722
...@@ -147,10 +147,9 @@ static int apci2032_int_cmdtest(struct comedi_device *dev, ...@@ -147,10 +147,9 @@ static int apci2032_int_cmdtest(struct comedi_device *dev,
if (err) if (err)
return 3; return 3;
/* step 4: ignored */ /* Step 4: fix up any arguments */
if (err) /* Step 5: check channel list if it exists */
return 4;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment