From: Ian Abbott Date: Thu, 27 Nov 2014 11:37:17 +0000 (+0000) Subject: staging: comedi: adl_pci9118: simplify interrupt_pci9118_ai_dma() a bit X-Git-Tag: omap-for-v3.20/drop-legacy-3517~70^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac33c20dadf927b7fc96292810007633805a6fe2;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed