diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-10 15:20:29 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-14 09:31:30 -0800 |
commit | a5e99e126bf61772ccb0ebcc235f5599265cb5b9 (patch) | |
tree | 8c76af09194d531661961b0a6765345400dd1d66 /drivers/staging/echo | |
parent | dbd446fc7aab519c213e63eefa15c82586a50989 (diff) |
staging: comedi: usbduxfast: 'cmd->chanlist_len' was already validataed
Remove the unnecessary check of 'cmd->chanlist_len > 0'. The (*do_cmdtest) already
validated this before the (*do_cmd) was called.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/echo')
0 files changed, 0 insertions, 0 deletions