staging: comedi: addi_apci_3501: board does not support dma
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 23 Jan 2013 19:40:07 +0000 (12:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 20:00:28 +0000 (12:00 -0800)
The board supported by this driver does not use dma. Remove the
unnecessary initialization of devpriv->s_EeParameters.i_Dma.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_3501.c

index 16a348cd69fb4563142fb9e3486611a6a2e41d83..0b7a500e390ffffaaff512aa4b3704274e7646c1 100644 (file)
@@ -193,9 +193,6 @@ static int apci3501_auto_attach(struct comedi_device *dev,
        /* Initialize parameters that can be overridden in EEPROM */
        devpriv->s_EeParameters.i_NbrAoChannel = this_board->i_NbrAoChannel;
        devpriv->s_EeParameters.i_AoMaxdata = this_board->i_AoMaxdata;
-       devpriv->s_EeParameters.i_Dma = this_board->i_Dma;
-
-       /* ## */
 
        if (pcidev->irq > 0) {
                ret = request_irq(pcidev->irq, apci3501_interrupt, IRQF_SHARED,