staging: comedi: cb_pcidda: cleanup the private data
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 24 Oct 2012 23:30:05 +0000 (16:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 02:35:49 +0000 (19:35 -0700)
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>
drivers/staging/comedi/drivers/cb_pcidda.c

index ad67373679e58e55989d3ba20e40b132c55a3349..6e504ddde862a463a3e4b4f7466c820b034edcc6 100644 (file)
@@ -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 */