]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: ni_labpc: tidy up after DMA code migration
authorIan Abbott <abbotti@mev.co.uk>
Fri, 28 Jun 2013 16:09:27 +0000 (17:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 21:27:52 +0000 (14:27 -0700)
After migrating the ISA DMA handling code to the "ni_labpc_isadma"
module, get rid of an unneeded `#include` and a couple of unused
static variables.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c

index 57985a24dda4609c8125ef9bc1bcacfcb14e01a7..1add114dc0bc9d5b490d169a88e69c63f86106e6 100644 (file)
@@ -65,8 +65,6 @@
 
 #include "../comedidev.h"
 
-#include <asm/dma.h>
-
 #include "8253.h"
 #include "8255.h"
 #include "comedi_fc.h"
@@ -175,11 +173,6 @@ static const struct labpc_boardinfo labpc_boards[] = {
 };
 #endif
 
-/* size in bytes of dma buffer */
-static const int dma_buffer_size = 0xff00;
-/* 2 bytes per sample */
-static const int sample_size = 2;
-
 static int labpc_counter_load(struct comedi_device *dev,
                              unsigned long base_address,
                              unsigned int counter_number,