commit | 3a0a73b3c884ef43487d6c3b43af077d6da124b7 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Apr 22 12:34:13 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 23 10:36:28 2013 -0700 |
tree | b4202bd3fad41be2f3e1c505aff877da306da3f8 | |
parent | 3e034797191de9981cddff4d1a8203d020360958 [diff] |
staging: comedi: ni_labpc: remove unnecessary 'bustype' check Only the ISA versions of the LabPC boards support DMA and the devpriv->dma_chan is only set during the ISA board attach if DMA is available. The extra check of the board->bustype is not necessary in labpc_ai_cmd(). 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>