]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: cb_pcimdas: cleanup the private data
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 19 Jul 2012 01:47:11 +0000 (18:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 23:32:55 +0000 (16:32 -0700)
Remove the unused variables from the private data.

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

index 34000671453ab4f07928a9f71aa09f20ade02c3a..9e4bac1b016dc8cb5937bf7cae786226248275ad 100644 (file)
@@ -134,8 +134,6 @@ static const struct cb_pcimdas_board cb_pcimdas_boards[] = {
  * struct.
  */
 struct cb_pcimdas_private {
-       int data;
-
        /*  would be useful for a PCI device */
        struct pci_dev *pci_dev;
 
@@ -148,13 +146,6 @@ struct cb_pcimdas_private {
 
        /* Used for AO readback */
        unsigned int ao_readback[2];
-
-       /*  Used for DIO */
-       unsigned short int port_a;      /*  copy of BADR4+0 */
-       unsigned short int port_b;      /*  copy of BADR4+1 */
-       unsigned short int port_c;      /*  copy of BADR4+2 */
-       unsigned short int dio_mode;    /*  copy of BADR4+3 */
-
 };
 
 /*