mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
staging: comedi: ni_tiocmd: remove deadcode in ni_tio_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
e24e9216ed
commit
ae2aef64fb
1 changed files with 2 additions and 3 deletions
|
|
@ -286,10 +286,9 @@ int ni_tio_cmdtest(struct comedi_device *dev,
|
|||
if (err)
|
||||
return 3;
|
||||
|
||||
/* step 4: fix up any arguments */
|
||||
/* Step 4: fix up any arguments */
|
||||
|
||||
if (err)
|
||||
return 4;
|
||||
/* Step 5: check channel list if it exists */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue