Skip to content

Commit

Permalink
staging: comedi: cb_pcimdas: cleanup the private data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jul 19, 2012
1 parent 718c39e commit 2852230
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/staging/comedi/drivers/cb_pcimdas.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 */

};

/*
Expand Down

0 comments on commit 2852230

Please sign in to comment.