[PATCH 10/26] staging: comedi: ni_labpc: remove boardinfo data that is set to '0'

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

 



It's not necessary to initialize the boardinfo data that is set
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/ni_labpc.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ni_labpc.c b/drivers/staging/comedi/drivers/ni_labpc.c
index 20a9922..0152da9 100644
--- a/drivers/staging/comedi/drivers/ni_labpc.c
+++ b/drivers/staging/comedi/drivers/ni_labpc.c
@@ -319,19 +319,16 @@ static const struct labpc_boardinfo labpc_boards[] = {
 	 .ai_range_code = labpc_1200_ai_gain_bits,
 	 .ai_range_is_unipolar = labpc_1200_is_unipolar,
 	 .ai_scan_up = 1,
-	 .memory_mapped_io = 0,
 	 },
 	{
 	 .name = "lab-pc-1200ai",
 	 .ai_speed = 10000,
 	 .bustype = isa_bustype,
 	 .register_layout = labpc_1200_layout,
-	 .has_ao = 0,
 	 .ai_range_table = &range_labpc_1200_ai,
 	 .ai_range_code = labpc_1200_ai_gain_bits,
 	 .ai_range_is_unipolar = labpc_1200_is_unipolar,
 	 .ai_scan_up = 1,
-	 .memory_mapped_io = 0,
 	 },
 	{
 	 .name = "lab-pc+",
@@ -342,8 +339,6 @@ static const struct labpc_boardinfo labpc_boards[] = {
 	 .ai_range_table = &range_labpc_plus_ai,
 	 .ai_range_code = labpc_plus_ai_gain_bits,
 	 .ai_range_is_unipolar = labpc_plus_is_unipolar,
-	 .ai_scan_up = 0,
-	 .memory_mapped_io = 0,
 	 },
 #ifdef CONFIG_COMEDI_PCI_DRIVERS
 	{
-- 
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