mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 04:09:18 -04:00
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:
committed by
Greg Kroah-Hartman
parent
d7b6c574d1
commit
e8ad74f9c7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user