]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: addi_apci_3xxx: driver does not use dma
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 12 Jun 2013 23:07:48 +0000 (16:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 21:33:39 +0000 (14:33 -0700)
This driver does not use dma. Remove the unnecessary code.

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/addi_apci_3xxx.c

index 0327facc408e3ce53de10a5d5d63d5f053ad4564..909e7b674ae674b25156b1ce6d91672e2dd13af5 100644 (file)
@@ -732,7 +732,6 @@ static int apci3xxx_auto_attach(struct comedi_device *dev,
        devpriv->s_EeParameters.i_NbrDiChannel = board->i_NbrDiChannel;
        devpriv->s_EeParameters.i_NbrDoChannel = board->i_NbrDoChannel;
        devpriv->s_EeParameters.i_DoMaxdata = board->i_DoMaxdata;
-       devpriv->s_EeParameters.i_Dma = board->i_Dma;
        devpriv->s_EeParameters.i_Timer = board->i_Timer;
        devpriv->s_EeParameters.ui_MinAcquisitiontimeNs =
                                                board->ui_MinAcquisitiontimeNs;