Skip to content

Commit

Permalink
staging: comedi: cb_pcidda: cleanup the private data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 25, 2012
1 parent a74531a commit dcf5e2b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/staging/comedi/drivers/cb_pcidda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit dcf5e2b

Please sign in to comment.