staging: comedi: adl_pci9118: absorb move_block_from_dma()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 11 Nov 2014 00:57:55 +0000 (17:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 23:31:45 +0000 (15:31 -0800)
commite57bfa673c3056747f8014b956e6fbed02f917d5
tree79eb96e92e2a65c8bf96e45e50c55669003f10b3
parent6250d982ee02ba44c230b7fb6f17432732a7a0fe
staging: comedi: adl_pci9118: absorb move_block_from_dma()

Absorb this simple helper function into interrupt_pci9118_ai_dma().

Remove the unnecessary local variables 'sampls' and 'm'.

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>
drivers/staging/comedi/drivers/adl_pci9118.c