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 0327fac..909e7b6 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;