staging: comedi: addi_apci_1564: remove use of devpriv->b_OutputMemoryStatus

This member of the private data struct is only set at one location in the
entire driver, and then never even used for anything.  Let's just remove
its use.

Signed-off-by: Chase Southwood <chase.southwood@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Cc: H Hartley Sweeeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Chase Southwood
2014-06-21 17:24:39 -05:00
committed by Greg Kroah-Hartman
parent d7b6c574d1
commit e8ad74f9c7

View File

@@ -149,11 +149,6 @@ static int apci1564_do_config(struct comedi_device *dev,
return -EINVAL;
}
if (data[0])
devpriv->b_OutputMemoryStatus = 1;
else
devpriv->b_OutputMemoryStatus = 0;
if (data[1] == 1)
ul_Command = ul_Command | 0x1;
else