diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-17 14:27:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 11:53:54 -0800 |
commit | 90c6328e6c4ab5b753e8cdb12e7455f911ea3be8 (patch) | |
tree | 028744285a956620a35e67e4f8db9a763205a059 | |
parent | 9b4dd5d1afb0dea80ab4274433b25a1c0598e855 (diff) |
staging: comedi: pcl816: remove 'n_ranges' from boardinfo
This member in the boardinfo is not used. Remove it.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/pcl816.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/pcl816.c b/drivers/staging/comedi/drivers/pcl816.c index d64ed5e26858..b2d857d3acca 100644 --- a/drivers/staging/comedi/drivers/pcl816.c +++ b/drivers/staging/comedi/drivers/pcl816.c @@ -92,7 +92,6 @@ static const struct comedi_lrange range_pcl816 = { struct pcl816_board { const char *name; - int n_ranges; unsigned int ai_ns_min; int n_aochan; const struct comedi_lrange *ai_range_type; @@ -106,7 +105,6 @@ struct pcl816_board { static const struct pcl816_board boardtypes[] = { { .name = "pcl816", - .n_ranges = 8, .ai_ns_min = 10000, .n_aochan = 1, .ai_range_type = &range_pcl816, @@ -117,7 +115,6 @@ static const struct pcl816_board boardtypes[] = { .ao_chanlist = 1, }, { .name = "pcl814b", - .n_ranges = 8, .ai_ns_min = 10000, .n_aochan = 1, .ai_range_type = &range_pcl816, |