Commit e8ad74f9 authored by Chase Southwood's avatar Chase Southwood Committed by Greg Kroah-Hartman

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: default avatarChase Southwood <chase.southwood@gmail.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Cc: H Hartley Sweeeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d7b6c574
...@@ -149,11 +149,6 @@ static int apci1564_do_config(struct comedi_device *dev, ...@@ -149,11 +149,6 @@ static int apci1564_do_config(struct comedi_device *dev,
return -EINVAL; return -EINVAL;
} }
if (data[0])
devpriv->b_OutputMemoryStatus = 1;
else
devpriv->b_OutputMemoryStatus = 0;
if (data[1] == 1) if (data[1] == 1)
ul_Command = ul_Command | 0x1; ul_Command = ul_Command | 0x1;
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment