Skip to content

Commit

Permalink
staging: comedi: dnya_pci10xx: remove unused fields in the boardinfo
Browse files Browse the repository at this point in the history
The *_bits information in the boardinfo 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 Aug 15, 2012
1 parent f2eacff commit 4884f72
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/staging/comedi/drivers/dyna_pci10xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,9 @@ struct boardtype {
const char *name;
int device_id;
int ai_chans;
int ai_bits;
int ao_chans;
int ao_bits;
int di_chans;
int di_bits;
int do_chans;
int do_bits;
const struct comedi_lrange *range_ai;
const char *range_codes_ai;
};
Expand All @@ -74,13 +70,9 @@ static const struct boardtype boardtypes[] = {
.name = "dyna_pci1050",
.device_id = 0x1050,
.ai_chans = 16,
.ai_bits = 12,
.ao_chans = 16,
.ao_bits = 12,
.di_chans = 16,
.di_bits = 16,
.do_chans = 16,
.do_bits = 16,
.range_ai = &range_pci1050_ai,
.range_codes_ai = range_codes_pci1050_ai,
},
Expand Down

0 comments on commit 4884f72

Please sign in to comment.