Skip to content

Commit

Permalink
staging: comedi: icp_multi: remove ranglist_ao from boardinfo
Browse files Browse the repository at this point in the history
This variable is not used by the driver. Remove it.

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 Sep 11, 2012
1 parent efac035 commit d4fb0f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/comedi/drivers/icp_multi.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ struct boardtype {
char cardtype; /* 0=ICP Multi */
const struct comedi_lrange *rangelist_ai; /* rangelist for A/D */
const char *rangecode; /* range codes for programming */
const struct comedi_lrange *rangelist_ao; /* rangelist for D/A */
};

struct icp_multi_private {
Expand Down Expand Up @@ -883,7 +882,6 @@ static const struct boardtype boardtypes[] = {
.cardtype = TYPE_ICP_MULTI,
.rangelist_ai = &range_analog,
.rangecode = range_codes_analog,
.rangelist_ao = &range_analog,
},
};

Expand Down

0 comments on commit d4fb0f2

Please sign in to comment.