]> 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)
commit45fd2bfa9079570ff52ff279d4f9f9fcfcc6d4e6
tree3dc4237adc9e25f7bc1e662314e6bb95d2b819ab
parent1cc5654376a71ba07580364acd97d7a24d7c6fa3
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