The 'is_dg' and 'n_ranges' members in the boardinfo are not used by the driver. Remove them. Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Cc: Ian Abbott <abbotti@xxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/staging/comedi/drivers/pcl711.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/comedi/drivers/pcl711.c b/drivers/staging/comedi/drivers/pcl711.c index 037a584..e1cdb365 100644 --- a/drivers/staging/comedi/drivers/pcl711.c +++ b/drivers/staging/comedi/drivers/pcl711.c @@ -135,8 +135,6 @@ struct pcl711_board { const char *name; int is_pcl711b; int is_8112; - int is_dg; - int n_ranges; int n_aichan; int n_aochan; int maxirq; @@ -146,14 +144,12 @@ struct pcl711_board { static const struct pcl711_board boardtypes[] = { { .name = "pcl711", - .n_ranges = 5, .n_aichan = 8, .n_aochan = 1, .ai_range_type = &range_bipolar5, }, { .name = "pcl711b", .is_pcl711b = 1, - .n_ranges = 5, .n_aichan = 8, .n_aochan = 1, .maxirq = 7, @@ -161,7 +157,6 @@ static const struct pcl711_board boardtypes[] = { }, { .name = "acl8112hg", .is_8112 = 1, - .n_ranges = 12, .n_aichan = 16, .n_aochan = 2, .maxirq = 15, @@ -169,8 +164,6 @@ static const struct pcl711_board boardtypes[] = { }, { .name = "acl8112dg", .is_8112 = 1, - .is_dg = 1, - .n_ranges = 9, .n_aichan = 16, .n_aochan = 2, .maxirq = 15, -- 1.8.3.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel