]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: ni_labpc: remove boardinfo data that is set to '0'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 22 Mar 2013 16:39:50 +0000 (09:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:39:21 +0000 (11:39 -0700)
It's not necessary to initialize the boardinfo data that is set
to '0'.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c

index 6f9e2baff0929d7459b512b4aaa7c4ebfc64884b..2ae97c5228d0e5f5eedd75948a223b9517f052f9 100644 (file)
@@ -382,19 +382,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+",
@@ -405,8 +402,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
        {