OSDN Git Service

staging: comedi: addi_apci_1564: remove use of devpriv->b_OutputMemoryStatus
authorChase Southwood <chase.southwood@gmail.com>
Sat, 21 Jun 2014 22:24:39 +0000 (17:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:09:37 +0000 (20:09 -0400)
commite8ad74f9c7eace7b8ee075d42c2b3d4709b41225
tree16ca86875348607fe24708a757e5a2ec71e0260e
parentd7b6c574d17fed09a0d9fa4bc7674c13fa156805
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>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c