[PATCH 03/10] staging: comedi: pcl724: remove all '= 0' boardinfo

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

 



All uninitialized data will default to 0.

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

diff --git a/drivers/staging/comedi/drivers/pcl724.c b/drivers/staging/comedi/drivers/pcl724.c
index 3a3b16b..396fdbd 100644
--- a/drivers/staging/comedi/drivers/pcl724.c
+++ b/drivers/staging/comedi/drivers/pcl724.c
@@ -70,42 +70,33 @@ static const struct pcl724_board boardtypes[] = {
 		.dio		= 24,
 		.numofports	= 1,
 		.io_range	= PCL724_SIZE,
-		.can_have96	= 0,
-		.is_pet48	= 0,
 	}, {
 		.name		= "pcl722",
 		.dio		= 144,
 		.numofports	= 6,
 		.io_range	= PCL722_SIZE,
 		.can_have96	= 1,
-		.is_pet48	= 0,
 	}, {
 		.name		= "pcl731",
 		.dio		= 48,
 		.numofports	= 2,
 		.io_range	= PCL731_SIZE,
-		.can_have96	= 0,
-		.is_pet48	= 0,
 	}, {
 		.name		= "acl7122",
 		.dio		= 144,
 		.numofports	= 6,
 		.io_range	= PCL722_SIZE,
 		.can_have96	= 1,
-		.is_pet48	= 0,
 	}, {
 		.name		= "acl7124",
 		.dio		= 24,
 		.numofports	= 1,
 		.io_range	= PCL724_SIZE,
-		.can_have96	= 0,
-		.is_pet48	= 0,
 	}, {
 		.name		= "pet48dio",
 		.dio		= 48,
 		.numofports	= 2,
 		.io_range	= PET48_SIZE,
-		.can_have96	= 0,
 		.is_pet48	= 1,
 	},
 };
-- 
1.8.1.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/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