summaryrefslogtreecommitdiff
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-12-19 16:32:07 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-20 11:49:34 -0800
commitd783a20e8f2ada1b0b443ddf09e7e700d20b18dc (patch)
tree577237ce8bcf6c105b349130d94718bafffd7052 /REPORTING-BUGS
parent0c26c7ed7621b103419f1f23b52ff78af5ca44a3 (diff)
staging: comedi: ni_660x: remove dma_selection_counter()
The counter->chip_index will always be < counters_per_chip due to the initialization of the subdevices during the attach of the board. The dma_selection_counter() helper just does a BUG_ON() check before returning the original value. Just use the original value directly in the caller and remove the helper function. 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>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions