Skip to content

Commit

Permalink
staging: comedi: s526: remove unused s526_ports array
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 21, 2012
1 parent d160895 commit 2a117a9
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions drivers/staging/comedi/drivers/s526.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a117a9

Please sign in to comment.