Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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