staging: comedi: s526: remove unused s526_ports array
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 19 Sep 2012 22:10:47 +0000 (15:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Sep 2012 16:19:43 +0000 (09:19 -0700)
This array was used to debug dump the registers. The debug
dump has been removed so this array is no longer needed.

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

index 362c955389f3c5822be6bee6df1247fb4bdc71c0..1ae250baa79d68dc0d5ebd14daa4c24b67865190 100644 (file)
@@ -83,36 +83,6 @@ comedi_config /dev/comedi0 s526 0x2C0,0x3
 #define REG_EED 0x32
 #define REG_EEC 0x34
 
-static const int s526_ports[] = {
-       REG_TCR,
-       REG_WDC,
-       REG_DAC,
-       REG_ADC,
-       REG_ADD,
-       REG_DIO,
-       REG_IER,
-       REG_ISR,
-       REG_MSC,
-       REG_C0L,
-       REG_C0H,
-       REG_C0M,
-       REG_C0C,
-       REG_C1L,
-       REG_C1H,
-       REG_C1M,
-       REG_C1C,
-       REG_C2L,
-       REG_C2H,
-       REG_C2M,
-       REG_C2C,
-       REG_C3L,
-       REG_C3H,
-       REG_C3M,
-       REG_C3C,
-       REG_EED,
-       REG_EEC
-};
-
 struct counter_mode_register_t {
 #if defined(__LITTLE_ENDIAN_BITFIELD)
        unsigned short coutSource:1;