diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2014-11-27 11:37:17 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-12-02 16:31:20 -0800 |
commit | ac33c20dadf927b7fc96292810007633805a6fe2 (patch) | |
tree | ac8cb58fc5afda9d25cab7d8238de69a223c0476 /drivers/staging/vme | |
parent | 99eff12f8a28762ac5d96158f0e344d64f978d28 (diff) |
staging: comedi: adl_pci9118: simplify interrupt_pci9118_ai_dma() a bit
Eliminate the `next_dma_buf` variable in `interrupt_pci9118_ai_dma()`.
It holds the next value of `devpriv->dma_actbuf` when double buffering
is used, but we can just set that to the next value directly at the
point where the buffers are switched as the old value is not used
anywhere else.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vme')
0 files changed, 0 insertions, 0 deletions