From ac33c20dadf927b7fc96292810007633805a6fe2 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Thu, 27 Nov 2014 11:37:17 +0000 Subject: [PATCH] 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-format-patch failed