diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-11 02:20:31 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-14 21:31:30 +0400 |
| commit | bb73fc99bd2a071800e64e985ed464763b9a8d75 (patch) | |
| tree | 9633af10a151284f6f2b11f1b431ff361a433eb3 /include/linux/errqueue.h | |
| parent | 9ebe26cf7acf40391afb6caa4d38bb9cc83a27f0 (diff) | |
| download | linux-bb73fc99bd2a071800e64e985ed464763b9a8d75.tar.xz | |
staging: comedi: adl_pci9111: 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 pci9111_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/errqueue.h')
0 files changed, 0 insertions, 0 deletions
