Skip to contentSkip to conversation

staging: comedi: s526: remove unused variables in the private data

PATCH In review H Hartley Sweeten 1 participant 1 message Jul 19, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 90/90 staging: comedi: s526: remove unused variables in the private data

The 'data' and 'pci_dev' variables in the private data are not used. They appear to be cut-and-paste from the skel driver. Remove them.

Cc Ian Abbott <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/comedi/drivers/s526.c | 8 --------
 1 file changed, 8 deletions(-)
drivers/staging/comedi/drivers/s526.c +0 -8
index 358380f..737a194 100644
@@ -206,15 +206,7 @@ static const struct s526_board s526_boards[] = {
    struct.
 */
 struct s526_private {
-
-	int data;
-
-	/* would be useful for a PCI device */
-	struct pci_dev *pci_dev;
-
-	/* Used for AO readback */
 	unsigned int ao_readback[2];
-
 	struct s526GPCTConfig s526_gpct_config[4];
 	unsigned short s526_ai_config;
 };
Signature · 1 line
1.7.11