aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-07-18 21:47:11 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-19 19:32:55 -0400
commit2852230eb210bbd249c5f217eef36b641b2e4bb8 (patch)
tree86b6ea960038b5bd50eaebd8964e716677a3708b
parent718c39e8ff8ccc824883cc1078c1bf2fd2afeacc (diff)
staging: comedi: cb_pcimdas: cleanup the private data
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>
-rw-r--r--drivers/staging/comedi/drivers/cb_pcimdas.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/comedi/drivers/cb_pcimdas.c b/drivers/staging/comedi/drivers/cb_pcimdas.c
index 34000671453a..9e4bac1b016d 100644
--- a/drivers/staging/comedi/drivers/cb_pcimdas.c
+++ b/drivers/staging/comedi/drivers/cb_pcimdas.c
@@ -134,8 +134,6 @@ static const struct cb_pcimdas_board cb_pcimdas_boards[] = {
134 * struct. 134 * struct.
135 */ 135 */
136struct cb_pcimdas_private { 136struct cb_pcimdas_private {
137 int data;
138
139 /* would be useful for a PCI device */ 137 /* would be useful for a PCI device */
140 struct pci_dev *pci_dev; 138 struct pci_dev *pci_dev;
141 139
@@ -148,13 +146,6 @@ struct cb_pcimdas_private {
148 146
149 /* Used for AO readback */ 147 /* Used for AO readback */
150 unsigned int ao_readback[2]; 148 unsigned int ao_readback[2];
151
152 /* Used for DIO */
153 unsigned short int port_a; /* copy of BADR4+0 */
154 unsigned short int port_b; /* copy of BADR4+1 */
155 unsigned short int port_c; /* copy of BADR4+2 */
156 unsigned short int dio_mode; /* copy of BADR4+3 */
157
158}; 149};
159 150
160/* 151/*