]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: adl_pci9118: remove 'cnt0_users' from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 5 May 2014 16:35:41 +0000 (09:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:18:55 +0000 (21:18 +0900)
This member of the private data is set to 0 but never used. Remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9118.c

index f60dc41756e2f70f5c1d0c82a6e49030be810ac3..8814b060407b7f34a19b62fd771633c2c3c4510a 100644 (file)
@@ -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;