commit | 335733438f703a4a54478360759b75ff1d24ebda | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Apr 29 11:08:38 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 03 20:02:42 2014 -0400 |
tree | 910bd43613e3794919624a3b3eabbb04315366fd | |
parent | 73bcf01cb8c57c699c2a194fef3bad9bd39d6e1a [diff] |
staging: comedi: adv_pci1710: remove local var in pci171x_ai_cmd() The local variable 'mode' is not necessary. We can determine the mode by checking the cmd->convert_src and cmd->start_src. Do this instead to clarify the code. 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>