staging: comedi: hwdrv_apci3120: remove clearing of 'b_OutputMemoryStatus'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 29 Apr 2014 19:59:50 +0000 (12:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 May 2014 00:06:34 +0000 (20:06 -0400)
This private data member is not used by this driver. Remove the unnecessary
clearing of it.

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-data/hwdrv_apci3120.c

index 8874b2ca4cd956acba306ba38c7b78a698c46d88..e3aa89780c2c7964393027ab7cfbe00f9b10069b 100644 (file)
@@ -613,7 +613,6 @@ static int apci3120_reset(struct comedi_device *dev)
        devpriv->b_EocEosInterrupt = APCI3120_DISABLE;
        devpriv->b_InterruptMode = APCI3120_EOC_MODE;
        devpriv->ui_EocEosConversionTime = 0;   /*  set eoc eos conv time to 0 */
-       devpriv->b_OutputMemoryStatus = 0;
 
        /*  variables used in timer subdevice */
        devpriv->b_Timer2Mode = 0;