aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorH Hartley Sweeten2012-10-24 16:30:05 -0700
committerGreg Kroah-Hartman2012-10-24 19:35:49 -0700
commitdcf5e2b39aaec76e7771e57dc469f538386fe593 (patch)
treee8be05bc5d80d96406823e68b12d1ce0edd31aa0 /drivers
parenta74531a54afe327589d267ecc3e5775981c9ed05 (diff)
staging: comedi: cb_pcidda: cleanup the private data
Remove the unused variables in the private data. Also remove the cut-and-paste comment from the skel driver. 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/cb_pcidda.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/comedi/drivers/cb_pcidda.c b/drivers/staging/comedi/drivers/cb_pcidda.c
index ad67373679e5..6e504ddde862 100644
--- a/drivers/staging/comedi/drivers/cb_pcidda.c
+++ b/drivers/staging/comedi/drivers/cb_pcidda.c
@@ -203,20 +203,9 @@ static const struct cb_pcidda_board cb_pcidda_boards[] = {
},
};
-/*
- * this structure is for data unique to this hardware driver. If
- * several hardware drivers keep similar information in this structure,
- * feel free to suggest moving the variable to the struct comedi_device
- * struct.
- */
struct cb_pcidda_private {
- int data;
-
unsigned long digitalio;
- /* unsigned long control_status; */
- /* unsigned long adc_fifo; */
-
/* bits last written to da calibration register 1 */
unsigned int dac_cal1_bits;
/* current range settings for output channels */