diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-11 02:20:35 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-14 21:31:30 +0400 |
| commit | b41b267dbd17a24657c9bac2150fc1f10061b522 (patch) | |
| tree | 754c927ba82dee70f28d607c928abd2981813785 /include/linux | |
| parent | f45cc79ae58ba78f9e7f203f1c7c203b8acb5556 (diff) | |
| download | linux-b41b267dbd17a24657c9bac2150fc1f10061b522.tar.xz | |
staging: comedi: das800: trigger sources are validated in (*do_cmdtest)
The trigger sources were already validataed in the (*do_cmdtest) before the
(*do_cmd) is called. Refactor the code in das800_ai_do_cmd() to use if/else
instead of the switch since the default cases can never be reached.
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
