[PATCH 29/87] staging: comedi: pcl818: remove 'n_ranges' from boardinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This member in the boardinfo is not used. Remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
Cc: Ian Abbott <abbotti@xxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/staging/comedi/drivers/pcl818.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/staging/comedi/drivers/pcl818.c
index 4f28026..ded1bf8 100644
--- a/drivers/staging/comedi/drivers/pcl818.c
+++ b/drivers/staging/comedi/drivers/pcl818.c
@@ -258,7 +258,6 @@ static const struct comedi_lrange range718_unipolar1 = {
 
 struct pcl818_board {
 	const char *name;
-	int n_ranges;
 	unsigned int ns_min;
 	int n_aochan;
 	const struct comedi_lrange *ai_range_type;
@@ -273,7 +272,6 @@ struct pcl818_board {
 static const struct pcl818_board boardtypes[] = {
 	{
 		.name		= "pcl818l",
-		.n_ranges	= 4,
 		.ns_min		= 25000,
 		.n_aochan	= 1,
 		.ai_range_type	= &range_pcl818l_l_ai,
@@ -284,7 +282,6 @@ static const struct pcl818_board boardtypes[] = {
 		.is_818		= 1,
 	}, {
 		.name		= "pcl818h",
-		.n_ranges	= 9,
 		.ns_min		= 10000,
 		.n_aochan	= 1,
 		.ai_range_type	= &range_pcl818h_ai,
@@ -295,7 +292,6 @@ static const struct pcl818_board boardtypes[] = {
 		.is_818		= 1,
 	}, {
 		.name		= "pcl818hd",
-		.n_ranges	= 9,
 		.ns_min		= 10000,
 		.n_aochan	= 1,
 		.ai_range_type	= &range_pcl818h_ai,
@@ -307,7 +303,6 @@ static const struct pcl818_board boardtypes[] = {
 		.is_818		= 1,
 	}, {
 		.name		= "pcl818hg",
-		.n_ranges	= 12,
 		.ns_min		= 10000,
 		.n_aochan	= 1,
 		.ai_range_type	= &range_pcl818hg_ai,
@@ -319,7 +314,6 @@ static const struct pcl818_board boardtypes[] = {
 		.is_818		= 1,
 	}, {
 		.name		= "pcl818",
-		.n_ranges	= 9,
 		.ns_min		= 10000,
 		.n_aochan	= 2,
 		.ai_range_type	= &range_pcl818h_ai,
@@ -330,7 +324,6 @@ static const struct pcl818_board boardtypes[] = {
 		.is_818		= 1,
 	}, {
 		.name		= "pcl718",
-		.n_ranges	= 1,
 		.ns_min		= 16000,
 		.n_aochan	= 2,
 		.ai_range_type	= &range_unipolar5,
@@ -340,7 +333,6 @@ static const struct pcl818_board boardtypes[] = {
 		.has_dma	= 1,
 	}, {
 		.name		= "pcm3718",
-		.n_ranges	= 9,
 		.ns_min		= 10000,
 		.ai_range_type	= &range_pcl818h_ai,
 		.IRQbits	= 0x00fc,
-- 
1.8.5.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux