mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
staging: comedi: gsc_hpdi: remove deadcode in gsc_hpdi_cmd_test()
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
8d44945dc4
commit
6883565484
1 changed files with 2 additions and 4 deletions
|
|
@ -422,12 +422,10 @@ static int gsc_hpdi_cmd_test(struct comedi_device *dev,
|
|||
if (err)
|
||||
return 3;
|
||||
|
||||
/* step 4: fix up any arguments */
|
||||
|
||||
if (err)
|
||||
return 4;
|
||||
/* Step 4: fix up any arguments */
|
||||
|
||||
/* Step 5: check channel list if it exists */
|
||||
|
||||
if (cmd->chanlist && cmd->chanlist_len > 0)
|
||||
err |= gsc_hpdi_check_chanlist(dev, s, cmd);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue