commit | b9abc4aa75197f48d54092f36576249312dff55a | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri May 01 14:58:49 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 09 19:05:06 2015 +0200 |
tree | 58ffc8e4ebdf08d42a984ccb2ded82d1138d707e | |
parent | f9a8f6067da172c58390dd5d1b786b4e4e790f61 [diff] |
staging: comedi: ni_mio_common: remove BUG() check in ni_cdio_cmd() The cmd->scan_begin_src was validated in ni_cdio_cmdtest() and can only be TRIG_EXT. Remove the switch statement and unnecessary BUG() check. 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>