From: H Hartley Sweeten Date: Wed, 12 Jun 2013 23:07:48 +0000 (-0700) Subject: staging: comedi: addi_apci_3xxx: driver does not use dma X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fe220a444f977398cb7aa166f8e53837df0bcfff;p=linux-beck.git staging: comedi: addi_apci_3xxx: driver does not use dma This driver does not use dma. Remove the unnecessary code. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi_apci_3xxx.c b/drivers/staging/comedi/drivers/addi_apci_3xxx.c index 0327facc408e..909e7b674ae6 100644 --- a/drivers/staging/comedi/drivers/addi_apci_3xxx.c +++ b/drivers/staging/comedi/drivers/addi_apci_3xxx.c @@ -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;