Commit ad7a6230 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: adl_pci9118: remove 'cnt0_users' from private data

This member of the private data is set to 0 but never used. Remove it.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 49b61195
......@@ -364,10 +364,6 @@ struct pci9118_private {
unsigned int dmabuf_panic_size[2];
unsigned int dmabuf_samples[2]; /* size in samples */
int dmabuf_pages[2]; /* number of pages in buffer */
unsigned char cnt0_users; /*
* bit field of 8254 CNT0 users
* (0-unused, 1-AO, 2-DI, 3-DO)
*/
unsigned char exttrg_users; /*
* bit field of external trigger
* users(0-AI, 1-AO, 2-DI, 3-DO)
......@@ -1857,7 +1853,6 @@ static int pci9118_reset(struct comedi_device *dev)
* disable INT and DMA
*/
devpriv->cnt0_users = 0;
devpriv->exttrg_users = 0;
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment