]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: dt2814: Remove struct dt2814_private
authorIan Abbott <abbotti@mev.co.uk>
Mon, 1 Mar 2021 16:57:56 +0000 (16:57 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:31 +0000 (09:25 +0100)
commit3fcfea5a37d7b51c42a74f6752d1488b887a38a6
tree3dc4237adc9e25f7bc1e662314e6bb95d2b819ab
parent8ae22c103ed8556c1d963ad99e7c4aeb66da1a4a
staging: comedi: dt2814: Remove struct dt2814_private

The `ntrig` member of the `struct dt2814_private` pointed to by
`dev->private` is no longer used as a counter to determine the end of
acquisition for a Comedi asynchronous command.  The other member
`curadscan` is also unused.  Remove the allocation of the private data
during initialization and remove the definition of `struct
dt2814_private` since they are no longer needed.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20210301165757.243065-6-abbotti@mev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt2814.c